This commit is contained in:
2020-12-21 18:02:53 +00:00
parent b4191a2d78
commit d7737ca8c0
2 changed files with 2 additions and 2 deletions

View File

@@ -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);

View File

@@ -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
}
}