A NamingConvention instance is used to specify the naming conventions under
which the MetadataStore will translate type and property names between the server and the .NET client.
The default NamingConvention does not perform any translation, it simply passes property names thru unchanged.
Inheritance Hierarchy
Breeze.SharpInternable
Breeze.SharpNamingConvention
Breeze.SharpCamelCasePropertiesNamingConvention
Namespace: Breeze.Sharp
Assembly: Breeze.Sharp (in Breeze.Sharp.dll) Version: 0.6.0.5 (0.6.0.5)
Syntax
The NamingConvention type exposes the following members.
Constructors
Name | Description | |
---|---|---|
NamingConvention | Initializes a new instance of the NamingConvention class |
Methods
Name | Description | |
---|---|---|
AddClientServerNamespaceMapping | ||
ClientPropertyNameToServer |
Translates a server property name into a client property name.
| |
ClientTypeNameToServer |
Translates a client TypeNameInfo into a server TypeNameInfo.
| |
Clone | ||
Equals | (Inherited from Internable.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | (Inherited from Internable.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ServerPropertyNameToClient |
Translates a server property name into a client property name.
| |
ServerTypeNameToClient |
Translates a server TypeNameInfo into a client TypeNameInfo.
| |
TestPropertyName | ||
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
WithClientServerNamespaceMapping(IDictionaryString, String) | ||
WithClientServerNamespaceMapping(String, String) |
Fields
Name | Description | |
---|---|---|
__namingConventions | ||
CamelCaseProperties |
A NamingConvention that causes properties to be camelCased on the client.
| |
Default |
The 'Default' NamingConvention. - Basically does nothing to either type or property names.
| |
Suffix |
Properties
Name | Description | |
---|---|---|
ClientServerNamespaceMap | ||
Name | (Inherited from Internable.) |
See Also