This commit is contained in:
@@ -194,7 +194,7 @@ namespace AyaNova.DataList
|
||||
{
|
||||
var ordinal = SelectBuild.map[f.SqlColorColumnName];
|
||||
if (!await dr.IsDBNullAsync(ordinal))
|
||||
AyaField.clr = dr.GetInt32(ordinal);
|
||||
AyaField.clr = dr.GetString(ordinal);
|
||||
}
|
||||
|
||||
row.Add(AyaField);
|
||||
|
||||
@@ -16,6 +16,6 @@ namespace AyaNova.Biz
|
||||
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)] //https://www.newtonsoft.com/json/help/html/JsonPropertyPropertyLevelSetting.htm
|
||||
public int? ot { get; set; }//openable type
|
||||
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)] //https://www.newtonsoft.com/json/help/html/JsonPropertyPropertyLevelSetting.htm
|
||||
public int? clr { get; set; }//color
|
||||
public string clr { get; set; }//color
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user