Markus,
All is clear but the use of the method Execute.
Suppose that I have a static helper class called PlanningProcess, this
class has a method called GoAhed, inside this method there are
controls, calculations and entity updates.
Now, that I have a global session, I call from my form as
Hi
I have two questions about Ajax proxies.
1. Why are they synchronous when no callback is given? There is no
callback when one uses JS generation, but still such making such call
async could be desired...
2. Why do those proxies call controller with that additional
underscore query string?
Are you referring to Castle ActiveRecord? The 2.1.2 release is the
latest and it is available here:
http://www.castleproject.org/castle/projects.html
Which assembly exactly are you looking at the version number for?
-Michael
On Tue, Oct 19, 2010 at 1:18 AM, raghavsri raghavendra...@gmail.com
Hello. Sorry for my English.
I have a one to many, and I want to delete the parent when the child
is deleted.
When I try to delete a parent get the following error:
DELETE statement conflicted with the REFERENCE constraint
FK58D3BC2BC5838F81. The conflict has appeared in the database
NHibernate
If you want the parent (and all children) deleted when a single child
is deleted, just call your delete on the parent (instead of calling
delete on the child):
child.Sistema.Delete();
---
Patrick Steele
http://weblogs.asp.net/psteele
On Wed, Oct 20, 2010 at 6:59 AM, oreo
I want to delete a parent, and therefore all his children.
On 20 oct, 13:35, Patrick Steele patrick.ste...@gmail.com wrote:
If you want the parent (and all children) deleted when a single child
is deleted, just call your delete on the parent (instead of calling
delete on the child):
Why have you set Inverse=True on public virtual IListSuscriptor
Suscriptores?
-Original Message-
From: castle-project-users@googlegroups.com
[mailto:castle-project-us...@googlegroups.com] On Behalf Of oreo
Sent: 20 October 2010 01:45 PM
To: Castle Project Users
Subject: Re: error cascade
Exactly
-Markus
2010/10/20 Alessandro C. cavalieri.alessan...@gmail.com:
Markus,
All is clear but the use of the method Execute.
Suppose that I have a static helper class called PlanningProcess, this
class has a method called GoAhed, inside this method there are
controls, calculations and
In http://stw.castleproject.org/Active%20Record.Mappings.ashx says:
If you need to delete child objects when deleting a parent (e.g. when
calling Blog.Delete() should also delete all related Post records from
the database), you can specify Inverse=true.
I also tried without inverse and does not
whit
[BelongsTo(system_id)]
public virtual Sistema Sistema
{
get { return sistema; }
set { sistema = value; }
}
the error is the same
On 20 oct, 14:34, Nicholas Kilian nicholaskil...@googlemail.com
wrote:
The column name you used in your mapping,
Okay, but what should it be? What is the actual table structure?
There's definitely a system_id column on table Suscriptor that is a foreign
key to something; the CREATE statements for the tables will help us a bit
more.
-Original Message-
From: castle-project-users@googlegroups.com
[ActiveRecord]
class Asistema : ActiveRecordBaseAsistema
{
private int id;
private IListSuscriptor suscriptores = new
ListSuscriptor();
public Asistema()
{
}
[PrimaryKey]
public virtual int Id
{
get { return id;
Thank you very much. Already understood
On 20 oct, 15:06, Nicholas Kilian nicholaskil...@googlemail.com
wrote:
Sí,
Si usted rompe el sis.Delete e inspeccionar los dos objetos, podrás ver:
sis de objetos con una lista Suscriptor cero contar, no tiene conocimiento de
sulos niños en la
Ok. Perfect.
I wish to thank again you (Markus) and Josè for your support.
--Alessandro
On 20 Ott, 14:25, Markus Zywitza markus.zywi...@gmail.com wrote:
Exactly
-Markus
2010/10/20 Alessandro C. cavalieri.alessan...@gmail.com:
Markus,
All is clear but the use of the method Execute.
14 matches
Mail list logo