Class SqlAddProperty
- Assembly
- TimeCockpit.Data.dll
Class to produce the template output
public class SqlAddProperty : SqlTransformBase
- Inheritance
-
ObjectSqlAddProperty
- Inherited Members
-
Object.ToString()Object.Equals(Object)Object.Equals(Object, Object)Object.ReferenceEquals(Object, Object)Object.GetHashCode()Object.GetType()Object.MemberwiseClone()
Constructors
SqlAddProperty(StringBuilder, SqlDialect)
Initializes a new instance of the SqlAddProperty class
public SqlAddProperty(StringBuilder generationEnvironment, SqlDialect dialect)
Parameters
generationEnvironmentStringBuilderthe target string buffer.
dialectSqlDialectthe dialect to use.
SqlAddProperty(SqlDialect)
Initializes a new instance of the SqlAddProperty class
public SqlAddProperty(SqlDialect dialect)
Parameters
dialectSqlDialectthe dialect to use.
Methods
AddProperty(String, ModelProperty, StorageColumn[])
Generates code to add a property w/ storage columns, either sql azure or sql compact, depending on the dialect.
public void AddProperty(string schema, ModelProperty property, StorageColumn[] columns)
Parameters
schemaStringthe schema to use
propertyModelPropertythe property for which columns are added.
columnsStorageColumn[]the columns to be added.
TransformText()
Create the template output
public override string TransformText()
Returns
- String