C# Class LX.EasyDb.Mapping.SameNamingStrategy

Keeps same with names of types and properties.
Inheritance: INamingStrategy
Mostra file Open project: longshine/EasyDb.NET

Public Properties

Property Type Description
Instance SameNamingStrategy

Public Methods

Method Description
GetColumnName ( String propertyName ) : String
GetTableName ( String typeName ) : String

Private Methods

Method Description
SameNamingStrategy ( ) : System

Method Details

GetColumnName() public method

public GetColumnName ( String propertyName ) : String
propertyName String
return String

GetTableName() public method

public GetTableName ( String typeName ) : String
typeName String
return String

Property Details

Instance public_oe static_oe property

Singleton.
public static SameNamingStrategy Instance
return SameNamingStrategy