Hey Hudson,
Thanks for the Excellent presentation on Fluent. We left the session
totally pumped and couldn't wait to get back home to try some of this
stuff!! I was wondering where/when your demo/ppt, etc will be posted?
Looking forward to it.It was great meeting you in person.
thanks!
Bil
se that I might read to help me understand this? In
this type of design, is it possible to let NHibernate generate all the
id's and for the application not to have to worry about it?
Thanks in advance and forgive me for this being such a newbie
question.
Bill
On Apr 13, 6:30 pm, Hudson A
Insert verses a Delete or if I Save at the top level
(Customer) will NHibernate figure out what SQL to generate? Please
forgive me if this is a stupid question.
thanks!
Bill
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Hi Hudson,
Thanks Much!!
Bill
On Apr 7, 4:43 pm, Hudson Akridge wrote:
> public class OrderMap : ClassMap
> {
> public OrderMap()
> { ...
> Version(x => x.Version);
> } }
>
>
>
> On Tue, Apr 7, 2009
Version in Fluent as NH needs?
thanks!
Bill
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibernate@googlegroups.com
To unsubscribe f
Version in Fluent as NH needs?
thanks!
Bill
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibernate@googlegroups.com
To unsubscribe f
to test it.
thanks!
Bill
On Mar 23, 2:09 pm, Bill wrote:
> Thanks again James. I really appreciate all you're doing to try and
> help. I understand the trial and error part. :)
>
> I tried using a single ID instead of the composite and get the same
> error. But from what Derik
base.Default);
new PersistenceSpecification(session)
.CheckProperty(x => x.ProjectID, "23456")
.CheckProperty(x => x.RouteID, "R1")
.CheckProperty(x => x.StartTime, dt)
.CheckReference(x => x.Proje
rojectID, RouteID)
VALUES (?, ?, ?, ?, ?, ?, ?)] --->
System.Data.SqlClient.SqlException: Invalid column name 'Project_id'..
Interesting.
Thanks!
Bill
On Mar 23, 7:55 am, James Gregory wrote:
> Sorry Bill, I was out last night and missed your last message. Derik
> Whittaker actually blogged very
> recently<htt
ld be appreciated.
thanks,
Bill
On Mar 22, 2:59 pm, Bill wrote:
> I set Cacasde.All() on the Reference like this:
>
> // Reference back to parent Project
> References(x => x.Project).Cascade.All()
> .WithForeignKey("ProjectID").WithCo
t;)
.CheckProperty(x => x.MilesTraveled, 34)
.CheckReference(x => x.Project, _project)
.VerifyTheMappings();
}
thanks!
Bill
On Mar 22, 2:42 pm, James Gregory wrote:
> Hmm, try setting a Cascade on that relationship.
fRangeException: Invalid index 6 for this
SqlParameterCollection with Count=6..
I'm probably just doing something stupid. Any ideas would be
gratefully welcomed.
thanks!
Bill
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google G
.WithForeignKeyConstraintName("ProjectID");
}
}
thanks,
Bill
On Mar 17, 9:03 am, James Gregory wrote:
> That looks like a bug. Have you updated recently? Because that looks
> like an outdated syntax.
>
> On 3/17/09, Bill wrote:
>
>
>
>
>
> >
eLocation [RouteID])) must have same number of columns as
the referenced primary key (Route [ProjectID, RouteID]).
I'm sure that this is probably just something really stupid that I am
overlooking as I am a newbie to both NH and FNH.
thanks in advance!
Bill
--~--~-~--~~~--
Hi,
I hope that SQL helps. Please let me know if there is any other info
that I can provide that might help. It's strange that it says that
there is no mapping.
thanks!
Bill
On Mar 15, 3:50 pm, Bill wrote:
> James,
>
> Here's the sql for creating the db. Hope this is what
pe],
[FullPath], [FlagSelected], [SequenceNo])
VALUES
('7', 'PL\600011124', '7jx0jh1', 1, '/All Projects/
Whirlpool/Project1', 1, 0);
INSERT INTO [VRA].[dbo].[Project]
([ProjectID] ,[UserID], [MachineName], [NodeType],
[FullP
y other way
to get additional debug info? Or if there are any examples of 3 levels
like this. I would think that another level would be just the same as
the root to the first child. Of course, the IDs confuse me a little as
if I am getting a Project and it has a list of Routes and those Routes
has a lis
hen I have additional levels to add as you can
see about with ShipmentList and EventList.
thanks!!
Bill
On Mar 15, 2:03 pm, James Gregory wrote:
> Could you show me some example classes? I don't want to make suggestions
> until I know exactly what you're trying to do.
>
>
k. Is this even
possible in Fluent NHibernate or even NHibernate? I am new to both of
these technologies so thought I'd better ask. If anyone has a working
example of 3 levels of entities that work I'd appreciate seen how to
do this.
tha
19 matches
Mail list logo