Method | Description | |
---|---|---|
CreateInstance ( this type ) : object |
Creates an instance of the CLR type.
|
|
Field ( this contract, string name ) : IField |
Returns the field with the given name.
|
|
Fields ( this contract, FieldOptions option ) : IEnumerable |
Returns all fields that have the supplied set of options.
|
|
Fields ( this contract, bool>.Func |
Returns all fields that match the predicate.
|
|
GetId ( this contract, object instance ) : object |
Gets the ID for the entity.
|
|
Relationship ( this contract, string name ) : IRelationship |
Returns the relationship with the given name.
|
|
Relationships ( this contract ) : IEnumerable |
Return the relationships for the contract.
|
|
Relationships ( this contract, bool>.Func |
Returns all relationships that match the predicate.
|
public static CreateInstance ( this type ) : object | ||
type | this | The resource to create the CLR instance type for. |
return | object |
public static Field ( this contract, string name ) : IField | ||
contract | this | The type to return the field from. |
name | string | The name of the field to return. |
return | IField |
public static Fields ( this contract, FieldOptions option ) : IEnumerable |
||
contract | this | The contract to return the fields from. |
option | FieldOptions | The option to return the fields with. |
return | IEnumerable |
public static Fields ( this contract, bool>.Func |
||
contract | this | The contract to return the fields from. |
predicate | bool>.Func | The predicate to apply to the fields to determine if they should be returned. |
return | IEnumerable |
public static GetId ( this contract, object instance ) : object | ||
contract | this | The contract to perform the operation on. |
instance | object | The instance to return the ID from. |
return | object |
public static Relationship ( this contract, string name ) : IRelationship | ||
contract | this | The type to return the relationship from. |
name | string | The name of the relationship to return. |
return | IRelationship |
public static Relationships ( this contract ) : IEnumerable |
||
contract | this | The contract to return the relationships for. |
return | IEnumerable |
public static Relationships ( this contract, bool>.Func |
||
contract | this | The contract to return the relationships from. |
predicate | bool>.Func | The predicate to apply to the relationships to determine if they should be returned. |
return | IEnumerable |