Class EdmHelpers
Edm related helper methods.
Inheritance
System.Object
EdmHelpers
Namespace: Cireson.Core.Common.Helpers
Assembly: Cireson.Core.Common.dll
Syntax
public static class EdmHelpers : object
Remarks
Admin, 8/24/2017.
Methods
View SourceGetEntitySetName(Type)
Retrieves the canonical name of the odata entityset name given the type.
Declaration
public static string GetEntitySetName(Type entityType)
Parameters
Type | Name | Description |
---|---|---|
Type | entityType | . |
Returns
Type | Description |
---|---|
System.String | The entity set name. |
Remarks
Admin, 8/24/2017.
GetSchemaName(Type)
Gets schema name.
Declaration
public static string GetSchemaName(Type entityType)
Parameters
Type | Name | Description |
---|---|---|
Type | entityType | . |
Returns
Type | Description |
---|---|
System.String | The schema name. |
Remarks
Admin, 8/24/2017.
GetTableName(Type)
Gets table name.
Declaration
public static string GetTableName(Type entityType)
Parameters
Type | Name | Description |
---|---|---|
Type | entityType | . |
Returns
Type | Description |
---|---|
System.String | The table name. |
Remarks
Admin, 8/24/2017.