I\'m trying to code my domain to interfaces types rather than concrete types. Skeleton examples of two domain objects are:
i have an nhibernate solution and i\'m trying to do a save, but i\'m getting this error: Test method HelloMusic.Core.Test.CrudTests.TestTrackAdd threw exception:
I have a data access class with an Enum called Salutation: public enum Salutation { Unknown = 0, Dame = 1,
I have Product and Category tables in database. One product can have many categories. One category c开发者_运维知识库an have many products.
I\'m trying to adopt Fluent NHibernate with my project, currently I can get data from database, when I\'m at application server, data is include its PK but when I return this data (as List) to client
We have an Enrollment object that has a Student object and the Student object has many Enrollment objects.If I leave off the Cascade.SaveUpdate() from the Enrollment\'s Student reference, updates to t
This question is really to establish if what im trying to achieve is possible. I have three tables i\'ll omit the actual names to keep it simple and less confusing
I\'d like to know, How Could I map (with fluent nhibernate) this model: public class Category { private IList<Product> _products;
I have an entity with a CompositeId that won\'t insert new rows to the database using SaveOrUpdateCopy.The INSERT statement generated by NHibernate is populated with \"?\" for the value of every field
After upgrading from Fluent NHibernate 1.0 RTM to 1.1 I got some strange errors when creating the database. After some investigation I discovered that FNH 1.0 quoted all field names in t开发者_如何转开