Generate navigation property IDs in template
Posted: Thu 27 Oct 2016 08:59
Hi.
We have a template, wich generates the classes from DB. All the single multiplicity navigation properties are generated as
but we also need the properties for the foreign keys too. It should be like this
How can we do this?
We have a template, wich generates the classes from DB. All the single multiplicity navigation properties are generated as
Code: Select all
public NavigationPropertyType NavigationPropertyName { get; set; }
Code: Select all
public NavigationPropertyType NavigationPropertyName { get; set; }
public ForeignKeyType ForeignKeyId { get; set; }