private SqlTableColumn(SerializationInfo info, StreamingContext context) { ColumnName = info.GetString("ColumnName"); ColumnType = (SqlType) info.GetValue("ColumnType", typeof(SqlType)); IsIdentity = info.GetBoolean("IsIdentity"); IsNotNull = info.GetBoolean("IsNotNull"); DefaultExpression = (SqlExpression) info.GetValue("Default", typeof(SqlExpression)); IndexType = info.GetString("IndexType"); }