C# Class Open.Core.Cloud.TableStorage.CodeGeneration.TableEntityTemplate

Generates code for a single backing entity for a TableStorageModel.
Afficher le fichier Open project: philcockfield/Open.TestHarness.SL Class Usage Examples

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
EmitProperty ( PropertyInfo property ) : bool
GetProperties ( ) : IEnumerable

Method Details

GetClassName() public static méthode

Retrieves the class name for the generated entity.
public static GetClassName ( Type modelType ) : string
modelType System.Type The type of the model.
Résultat string

GetContextName() public static méthode

Retrieves the context name for the generated entity.
public static GetContextName ( Type modelType ) : string
modelType System.Type The type of the model.
Résultat string

GetInterfaceName() public static méthode

Retrieves the interface name for the generated entity.
public static GetInterfaceName ( Type modelType ) : string
modelType System.Type The type of the model.
Résultat string

GetNamespace() public static méthode

Retrieves the namespace to put a generated entity within.
public static GetNamespace ( Type modelType ) : string
modelType System.Type The type of the model.
Résultat string

TableEntityTemplate() public méthode

Constructor.
public TableEntityTemplate ( ) : System
Résultat System