Nick is correct though, my last sentence was wrong. Not sure what I was
thinking when I wrote it.. too many days ago.
On Sun, Mar 15, 2009 at 6:03 AM, James Gregory wrote:
> The key to what paul said is "private auto properties". Use an
> autoproperty, not a field.
> private string PasswordHash {
Hi Mike,
The official answer is that this is not supported. However, I experimented a
little a while back with implementing automapping of private autoproperties.
See this message:
http://groups.google.com/group/fluent-nhibernate/msg/939605dd94d96c7c
And specifically, the tests that are here:
htt
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 you needed -
> it's p
If that were your problem, you'd be getting errors from the database, not
nothing.
http://stackoverflow.com/questions/366176/how-to-update-database-table-schemas-with-nhibernate-schema-generation
If that doesn't help, I'll need to see some code.
On Sun, Mar 15, 2009 at 9:08 PM, Sushant wrote:
>
I'm using Fluent NH for mapping and NH as ORM in my C# application..
The problem is with schemaupdate class.. if I create an instance of
that.. using the configuration I got from my exposeconfiguration
function.. It doesnot update the schema.. I need some better
documentation on SchemaUpdate class
James,
Here's the sql for creating the db. Hope this is what you needed -
it's pretty big.
-- ===
-- INDEX
-- ===
-- 1. Location
-- 2. LocationTimeWindow
-- 3. Depot
-- 4. Vehicle
-- 5. Shipment
-- 6. ShipmentTimeWindow
-- 7. Shipmen
One last thing, could you post the db schema? Then I've got the full picture
:)
I guess I'm being a bit slow today because nothing's jumping out as being
obviously wrong (apart from your IDs, as you said), so hopefully seeing the
schema will make something click.
On Sun, Mar 15, 2009 at 7:11 PM, B
Thanks James! So it sounds like if I set this up correctly that it
should work which is great news! I am using normal fluent mappings and
like I said, it recognizes the first two entities and then the third
on never gets a xml file generated from the mapping file. Here is my
mapping file for the t
Ok, well that relationship should work. How are you mapping this?
Automapping or normal fluent mappings? Either way, NHibernate isn't getting
a mapping for RouteLocationNH.
On Sun, Mar 15, 2009 at 6:13 PM, Bill wrote:
>
> Absolutely!
>
> Here is my root class - Project
>
>public class Projec
Absolutely!
Here is my root class - Project
public class Project
{
private IList _lstRouteObj = new List
();
public virtual string ProjectID { get; set; }
public virtual string UserID { get; set; }
public virtual string MachineName { get; set; }
p
Could you show me some example classes? I don't want to make suggestions
until I know exactly what you're trying to do.
On Sun, Mar 15, 2009 at 5:55 PM, Bill wrote:
>
> Hi,
>
> I have a entity which has a list of Child1 objects. The mappings seem
> to work fine for this. If I try to add a list o
Hi,
I have a entity which has a list of Child1 objects. The mappings seem
to work fine for this. If I try to add a list of Child2 objects to the
Child1 entity and set up the mapping a xml mapping doesn't seem to get
created and I get this error:
Test method
vRATest.ORMTest.NHibernateTests.NHiber
12 matches
Mail list logo