public dynamic DefaultValue(dynamic column)
{
dynamic result = null;
string def = column.COLUMN_DEFAULT;
if (String.IsNullOrEmpty(def)) {
result = null;
}
else if (def == "getdate()" || def == "(getdate())") {
result = DateTime.Now.ToShortDateString();
}
else if (def == "newid()") {
result = Guid.NewGuid().ToString();
}
else {
result = def.Replace("(", "").Replace(")", "");
}
return result;
}