[]
Returns the default EntityClientCache for a given contextType
.
public static EntityClientCache GetDefault(Type contextType)
Type | Name | Description |
---|---|---|
Type | contextType | A subclass of ObjectContext to get the default EntityClientCache for. |
Type | Description |
---|---|
EntityClientCache | The default EntityClientCache for the given |
Creates an EntityClientCache for the specified contextType
if it does not already exist;
otherwise, returns an existing instance.
It is the same default client cache as used by C1DataSource with specified C1DataSource.ObjectContextType.