C# Класс Open.Core.Cloud.TableStorage.CodeGeneration.TableEntityTemplate

Generates code for a single backing entity for a TableStorageModel.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
GetClassName ( Type modelType ) : string

Retrieves the class name for the generated entity.

GetContextName ( Type modelType ) : string

Retrieves the context name for the generated entity.

GetInterfaceName ( Type modelType ) : string

Retrieves the interface name for the generated entity.

GetNamespace ( Type modelType ) : string

Retrieves the namespace to put a generated entity within.

TableEntityTemplate ( ) : System

Constructor.

Приватные методы

Метод Описание
EmitProperty ( PropertyInfo property ) : bool
GetProperties ( ) : IEnumerable

Описание методов

GetClassName() публичный статический Метод

Retrieves the class name for the generated entity.
public static GetClassName ( Type modelType ) : string
modelType System.Type The type of the model.
Результат string

GetContextName() публичный статический Метод

Retrieves the context name for the generated entity.
public static GetContextName ( Type modelType ) : string
modelType System.Type The type of the model.
Результат string

GetInterfaceName() публичный статический Метод

Retrieves the interface name for the generated entity.
public static GetInterfaceName ( Type modelType ) : string
modelType System.Type The type of the model.
Результат string

GetNamespace() публичный статический Метод

Retrieves the namespace to put a generated entity within.
public static GetNamespace ( Type modelType ) : string
modelType System.Type The type of the model.
Результат string

TableEntityTemplate() публичный Метод

Constructor.
public TableEntityTemplate ( ) : System
Результат System