C# 클래스 Open.Core.Cloud.TableStorage.CodeGeneration.TableEntityTemplate

Generates code for a single backing entity for a TableStorageModel.
파일 보기 프로젝트 열기: philcockfield/Open.TestHarness.SL 1 사용 예제들

공개 메소드들

메소드 설명
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