public bool HaveColumn(string columnName, string columnValue, out bool retValueMatched)
{
bool ret = false;
bool valueMatched = false;
if (columnName == "InfoCategoryID")
{
ret = true;
if (InfoCategoryID.ToString() == columnValue) valueMatched = true;
}
if (columnName == "InfoCategoryGUID")
{
ret = true;
if (InfoCategoryGUID.ToString() == columnValue) valueMatched = true;
}
if (columnName == "RevisionNo")
{
ret = true;
if (RevisionNo.ToString() == columnValue) valueMatched = true;
}
if (columnName == "InfoCategoryName")
{
ret = true;
if (InfoCategoryName.ToString() == columnValue) valueMatched = true;
}
if (columnName == "UserID")
{
ret = true;
if (UserID.ToString() == columnValue) valueMatched = true;
}
if (columnName == "UserGUID")
{
ret = true;
if (UserGUID.ToString() == columnValue) valueMatched = true;
}
if (columnName == "CreatedDate")
{
ret = true;
if (CreatedDate.ToString() == columnValue) valueMatched = true;
}
if (columnName == "LastUpdateDate")
{
ret = true;
if (LastUpdateDate.ToString() == columnValue) valueMatched = true;
}
if (columnName == "IsActive")
{
ret = true;
if (IsActive.ToString() == columnValue) valueMatched = true;
}
if (columnName == "Sequence")
{
ret = true;
if (Sequence.ToString() == columnValue) valueMatched = true;
}
if (columnName == "IsDefault")
{
ret = true;
if (IsDefault.ToString() == columnValue) valueMatched = true;
}
if (columnName == "IsSystem")
{
ret = true;
if (IsSystem.ToString() == columnValue) valueMatched = true;
}
retValueMatched = valueMatched;
return ret;
}
[Column] public long InfoCategoryID { get; set; }