C# 클래스 MoM.Templates.CommonMembershipCode

Summary description for Class1
상속: MoM.Templates.CommonSqlCode
파일 보기 프로젝트 열기: netTiers/netTiers

Private Properties

프로퍼티 타입 설명
InitAttrTypes void
IsValidLValue bool
IsValidRValue bool

공개 메소드들

메소드 설명
CommonMembershipCode ( ) : CodeSmith.Engine
GetBoolExp ( DbType type, bool expected ) : string
GetBoolExp ( DbType type, string subj ) : string
GetCSType ( DataObjectBase field ) : string

Convert database types to C# types

GetEntityAlias ( string providerType ) : string
GetMappedColumn ( string propertyName ) : string

This function gets the name of the property in the user entity that corresponds to the selected MembershipUser property name.

GetPKType ( string providerType ) : string
GetPascalCaseName ( string name ) : string

Get the Pascal cased version of a name.

GetPropertyName ( string name ) : string

Transform a name into a public class property name.

IsCSReferenceDataType ( DataObjectBase column ) : bool

Returns true if the column is represented as a reference data type rather than a value type. In other words, the C# code can set a column of this data type to 'null'

보호된 메소드들

메소드 설명
GetCast ( DbType type ) : string

비공개 메소드들

메소드 설명
InitAttrTypes ( ) : void
IsValidLValue ( string providerType, string lvalue ) : bool
IsValidRValue ( string providerType, string rvalue ) : bool

메소드 상세

CommonMembershipCode() 공개 메소드

public CommonMembershipCode ( ) : CodeSmith.Engine
리턴 CodeSmith.Engine

GetBoolExp() 공개 메소드

public GetBoolExp ( DbType type, bool expected ) : string
type DbType
expected bool
리턴 string

GetBoolExp() 공개 메소드

public GetBoolExp ( DbType type, string subj ) : string
type DbType
subj string
리턴 string

GetCSType() 공개 메소드

Convert database types to C# types
public GetCSType ( DataObjectBase field ) : string
field DataObjectBase Column or parameter
리턴 string

GetCast() 보호된 메소드

protected GetCast ( DbType type ) : string
type DbType
리턴 string

GetEntityAlias() 공개 메소드

public GetEntityAlias ( string providerType ) : string
providerType string
리턴 string

GetMappedColumn() 공개 메소드

This function gets the name of the property in the user entity that corresponds to the selected MembershipUser property name.
public GetMappedColumn ( string propertyName ) : string
propertyName string
리턴 string

GetPKType() 공개 메소드

public GetPKType ( string providerType ) : string
providerType string
리턴 string

GetPascalCaseName() 공개 메소드

Get the Pascal cased version of a name.
public GetPascalCaseName ( string name ) : string
name string Name to be changed
리턴 string

GetPropertyName() 공개 메소드

Transform a name into a public class property name.
public GetPropertyName ( string name ) : string
name string
리턴 string

IsCSReferenceDataType() 공개 메소드

Returns true if the column is represented as a reference data type rather than a value type. In other words, the C# code can set a column of this data type to 'null'
public IsCSReferenceDataType ( DataObjectBase column ) : bool
column DataObjectBase
리턴 bool