C# (CSharp) T4Scaffolding.Core.RelatedEntityLocators Пространство имен

Классы

Имя Описание
RelatedEntityInfo
RelatedEntityLocation
RelatedEntityLocation.DefaultRelatedEntityLocator Finds related entities where: * There is a property called SomethingID of type SomeClass (i.e., property name ends with "ID", case-insensitively) or a property called SomeRelationID and one called SomeRelation of type SomeClass * The type SomeClass is local to your project or one of its references * The type SomeClass has a single primary key property In other words, the two patterns we support are: * public class Contact { public int CompanyId { get; set; } where there is a class Company with a single primary key * public class Person { public int MotherId { get; set; } public Person Mother { get; set; } } to support self-referencing entities and entities with multiple relations of a given type