Property | Type | Description | |
---|---|---|---|
InitAttrTypes | void | ||
IsValidLValue | bool | ||
IsValidRValue | bool |
Method | Description | |
---|---|---|
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'
|
Method | Description | |
---|---|---|
GetCast ( DbType type ) : string |
Method | Description | |
---|---|---|
InitAttrTypes ( ) : void | ||
IsValidLValue ( string providerType, string lvalue ) : bool | ||
IsValidRValue ( string providerType, string rvalue ) : bool |
public CommonMembershipCode ( ) : CodeSmith.Engine | ||
return | CodeSmith.Engine |
public GetBoolExp ( DbType type, bool expected ) : string | ||
type | DbType | |
expected | bool | |
return | string |
public GetBoolExp ( DbType type, string subj ) : string | ||
type | DbType | |
subj | string | |
return | string |
public GetCSType ( DataObjectBase field ) : string | ||
field | DataObjectBase | Column or parameter |
return | string |
public GetEntityAlias ( string providerType ) : string | ||
providerType | string | |
return | string |
public GetMappedColumn ( string propertyName ) : string | ||
propertyName | string | |
return | string |
public GetPKType ( string providerType ) : string | ||
providerType | string | |
return | string |
public GetPascalCaseName ( string name ) : string | ||
name | string | Name to be changed |
return | string |
public GetPropertyName ( string name ) : string | ||
name | string | |
return | string |
public IsCSReferenceDataType ( DataObjectBase column ) : bool | ||
column | DataObjectBase | |
return | bool |