2013 január hónap bejegyzései

Entity Framework 5, Many-To-One mapping, Composite Identifier, Unidirectional relationship, Code First

This topic talks about EF5 Many-To-One relations where the relations described with attributes. I will declare the mapping schema with code first approach. For the presentation I have defined two entities: Country Address Address holds the reference of Country, but … Bővebben…

Kategória: Entity Framework | Címke: , , , , , , | Megjegyzés hozzáfűzése

NHibernate Many-To-Many mapping, Composite Identifier, Bidirectional relationship

Last topic is the Many-To-Many Unidirectional mapping in NHibernate. I will declare the relations as the same way as done it at my previous articles: Code First and XML Mapping. Each approaches are right, you can choose the solution which … Bővebben…

Kategória: NHibernate | Címke: , , , , , , , | Megjegyzés hozzáfűzése

NHibernate Many-To-Many mapping, Composite Identifier, Unidirectional relationship

Next topic is the Many-To-Many mapping in NHibernate. I will declare the relations as the same way as done it at my previous article: Code First and XML Mapping. Each approaches are right, you can choose the solution which is … Bővebben…

Kategória: NHibernate | Címke: , , , , , , , | Megjegyzés hozzáfűzése

NHibernate Any mapping, Composite Identifier, Unidirectional relationship

Next topic is the Any mapping in NHibernate. I will declare the relations as the same way as done it at my previous article: Code First and XML Mapping. Each approaches are right, you can choose the solution which is … Bővebben…

Kategória: NHibernate | Címke: , , , , , , , | Megjegyzés hozzáfűzése

NHibernate Many-To-Any mapping, Composite Identifier, Unidirectional relationship

Next topic is the Many-To-Any mapping in NHibernate. I will declare the relations as the same way as done it at my previous article: Code First and XML Mapping. Each approaches are right, you can choose the solution which is … Bővebben…

Kategória: NHibernate | Címke: , , , , , , , | Megjegyzés hozzáfűzése

NHibernate One-To-Many mapping, Composite Identifier, Bidirectional relationship

Next topic is the One-To-Many mapping in NHibernate. I will declare the relations as the same way as done it at my previous article: Code First and XML Mapping. Each approaches are right, you can choose the solution which is … Bővebben…

Kategória: NHibernate | Címke: , , , , , , | Megjegyzés hozzáfűzése

NHibernate Many-To-One mapping, Composite Identifier, Unidirectional relationship

Next topic is the Many-To-One mapping in NHibernate. I will declare the relations as the same way as done it at my previous article: Code First and XML Mapping. Each approaches are right, you can choose the solution which is … Bővebben…

Kategória: NHibernate | Címke: , , , , , , , , | Megjegyzés hozzáfűzése

NHibernate One-To-One mapping, Composite Identifier, Bidirectional relationship

I using Code First and mapping documents too to define the connection between the database tables and the POCOs. For the presentation I have definied five entities: Person, this is an abstract class for common properties Boy Man Girl Woman … Bővebben…

Kategória: NHibernate | Címke: , , , , , , , , | Megjegyzés hozzáfűzése