I am presently trying to use NHibernate on a project where I do not have permissions to CREATE TABLE in SQL 2005.
I\'m new to NHibernate, and am trying to map a domain model that has a bit of inheritence etc (see this question for full details on my model, starting a new question as this is a different error)
I have a [ContactNumbers] table as defined below: ID (PK) | PersonID (FK) | NumberType | Number ========|===============|============|=======
My application has the following entities: public class User { public virtual int UserID { get; set; } public virtual string UserName { get; set; }
I have a class School and another class Teachers. now every school can contain m Teachers and one Teacher may be part of more than one school. But in the Teachers class I dont want a property that tel
I am working with nHibernate, and trying make sense of bag collections. My data structure is relatively straight-forward...
I have the following two tables: Package id ClientPackage id clientNumber packageId The thing is that I do not have a Client table in this database (it resides in another database).Is there a way
Consider the following simplified scenario: public class Person { public string Name { get; set; } public int Age { get; set; }
I have a bit of an odd scenario where I have a table that references a view that contains rows which are user-specific.The view has a unique row ID, but it is never used to reference the item.Instead
I am having an issue with saving entities with o开发者_Go百科ne-to-one relationships. I just want to save the parent entity and have the child be save aswell but I am having to save both separately.