Holds column information


Column(string name, string datatype)
  • 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


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


No comments yet.