Méthode | Description | |
---|---|---|
GetAutoGeneratedKeyType ( |
Get the autoGeneratedKeyType value for the given type. Should be defined even if the actual key property is on a base type.
|
|
GetDataPropertyType ( |
Change the type of the given data property in the metadata. For example, a custom wrapper type on the server may be unwrapped on the client, and the metadata reflects this.
|
|
GetForeignKeyName ( |
Get the foreign key for the given scalar navigation property. This is another property on the same entity that establishes the foreign key relationship.
|
|
GetMissingFKHandling ( |
Determine the generator behaves if a foreign key data property cannot be found for the given navigation property.
|
|
GetMissingPKHandling ( |
Determine the generator behaves if a primary key is missing on an entity.
|
|
GetResourceName ( |
Get the server resource name (endpoint) for the given type. E.g. for entity type Product, it might be "Products". This value is used by Breeze client when composing a query URL for an entity.
|
|
Include ( |
Filter types from metadata generation.
|
|
IsComplexType ( |
Determine if the given type is a "Complex Type" instead of an "Entity". Complex Types are sometimes called component types or embedded types, because they are part of the parent entity instead of being related by foreign keys.
|
|
IsKeyProperty ( |
Determine if the property is part of the entity key.
|
|
IsVersionProperty ( |
Determine if the property is a version property used for optimistic concurrency control.
|
|
Pluralize ( string s ) : string |
Lame pluralizer. Assumes we just need to add a suffix. Consider using System.Data.Entity.Design.PluralizationServices.PluralizationService.
|
|
Replace ( |
Replace the given type wherever it appears in the metadata. Can be used to replace an interface with a class.
|
public GetAutoGeneratedKeyType ( |
||
type | Entity type for which metadata is being generated | |
Résultat | string |
public GetDataPropertyType ( |
||
type | Entity type for which metadata is being generated | |
propertyInfo | Property being considered | |
Résultat |
public GetForeignKeyName ( |
||
type | Entity type for which metadata is being generated | |
propertyInfo | Scalar navigation/association property | |
Résultat | string |
public GetMissingFKHandling ( |
||
type | Entity type for which metadata is being generated | |
propertyInfo | Scalar navigation/association property | |
Résultat | MissingKeyHandling |
public GetMissingPKHandling ( |
||
type | Entity type for which metadata is being generated | |
Résultat | MissingKeyHandling |
public GetResourceName ( |
||
type | Entity type for which metadata is being generated | |
Résultat | string |
public IsComplexType ( |
||
type | Entity type for which metadata is being generated | |
Résultat | bool |
public IsKeyProperty ( |
||
type | Entity type for which metadata is being generated | |
propertyInfo | Property being considered | |
Résultat | bool |
public IsVersionProperty ( |
||
type | Entity type for which metadata is being generated | |
propertyInfo | Property being considered | |
Résultat | bool |
public Pluralize ( string s ) : string | ||
s | string | String to pluralize |
Résultat | string |
public Replace ( |
||
type | Type to replace | |
types | IEnumerable |
List of available types provided to the PocoMetadataBuilder |
Résultat |