ExtensionMethods.GetUInt16(EdmModel, String, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get type reference to the default UInt16 type definition. The default underlying type is Microsoft.OData.Edm.PrimitiveValueConverterConstants.DefaultUInt16UnderlyingType. If the user has already defined his own UInt16, this method will not define anything and simply returns the type reference.
public static Microsoft.OData.Edm.IEdmTypeDefinitionReference GetUInt16 (this Microsoft.OData.Edm.EdmModel model, string namespaceName, bool isNullable);
static member GetUInt16 : Microsoft.OData.Edm.EdmModel * string * bool -> Microsoft.OData.Edm.IEdmTypeDefinitionReference
<Extension()>
Public Function GetUInt16 (model As EdmModel, namespaceName As String, isNullable As Boolean) As IEdmTypeDefinitionReference
Parameters
- model
- EdmModel
The model involved
- namespaceName
- String
The name of the namespace where the type definition resides.
- isNullable
- Boolean
Indicate if the type definition reference is nullable.
Returns
The nullable type reference to UInt16 type definition.