///<summary> ///Get object by primary key string. ///</summary> public static DO_Keywords.UO_Keywords GetObjectByPrimaryKeyString(string primaryKeyString) { DO_Keywords da = new DO_Keywords(); DO_Keywords.UOList_Keywords l = da.GetList(GetConditionsByPrimaryKeyString(primaryKeyString)); return(l.Count > 0 ? l[0] : null); }
///<summary> ///Get object by Id. ///</summary> public static DO_Keywords.UO_Keywords GetObjectById(System.Int64 Id) { DO_Keywords da = new DO_Keywords(); DO_Keywords.UOList_Keywords l = da.GetList(GetConditionsById(Id)); return(l.Count > 0 ? l[0] : null); }
///<summary> ///Get object by primary key. ///</summary> public static DO_Keywords.UO_Keywords GetObject(System.Int32 id) { DO_Keywords da = new DO_Keywords(); DO_Keywords.UOList_Keywords l = da.GetList(GetConditionsByPrimaryKey(id)); return(l.Count > 0 ? l[0] : null); }