DotNetSqlGenerator.Library.Objects.Column.cs

Holds column information

Column

Column(string name, string datatype)
Details:
  • datatype will be the string representation of the type kept in the schema
  • Converts the given datatype into both SQL type and .Net type
  • Any datatype that is not implemented should be added to the switch statement in the constructor
  • Stores the nullability, name and limit of the columns

Properties

public string Name {get; private set;}
public SqlDbType SqlType { get; private set; }
public Type DotNetType { get; private set; }
public bool NotNull { get; protected set; }
public int Limit { get; private set; }

Last edited Dec 2, 2010 at 8:50 PM by naspinski, version 3

Comments

No comments yet.