Method |
Description |
|
CreateShortCodeTypeReference ( Type type, CodeNamespaceImportCollection imports ) : CodeTypeReference |
|
|
GenerateBody ( DbClassInfoCache sourceType, FactoryHelperSettings settings, CodeNamespace importNameSpace, CodeMemberMethod container, System.CodeDom.CodeExpression target ) : void |
|
|
GenerateBody ( DbPropertyInfoCache>.Dictionary properties, FactoryHelperSettings settings, CodeNamespace importNameSpace, CodeMemberMethod container, System.CodeDom.CodeExpression target ) : void |
Creates a new body in stlye of an Ado.net Constructor and attaches it to the target |
|
GenerateConstructor ( DbClassInfoCache target, FactoryHelperSettings settings, CodeNamespace importNameSpace ) : CodeMemberMethod |
Generates a Constructor with a Full Ado.Net constructor |
|
GenerateFactory ( DbClassInfoCache target, FactoryHelperSettings settings, CodeNamespace importNameSpace ) : CodeMemberMethod |
Generates a Function with a Full ado.net constructor beavior. It Creates a new Instance of and then fills all public properties |
|
GenerateTypeConstructor ( IEnumerable propertyToDbColumn, string altNamespace ) : CodeMemberMethod |
|
|
GenerateTypeConstructor ( bool factory = false ) : CodeMemberMethod |
Creates a new CodeDOM Element that is ether a Factory(Public Static Object Factory) or an constructor Both functions accepts only one Argument of type IDataRecord Both functions are empty |
|
Shortify ( CodeTypeReference typeReference, Type type, CodeNamespaceImportCollection imports ) : void |
|
|