Exemple #1
0
        public virtual int GetObjectIDByNo(string strObjectNo)
        {
            int    num        = 0;
            object objectByNo = this.GetObjectByNo(strObjectNo);

            if (objectByNo != null)
            {
                num = Convert.ToInt32(SqlDatabaseHelper.GetPrimaryColumnValue(objectByNo, this));
            }
            return(num);
        }
Exemple #2
0
 public object GetPrimaryColumnValue(object obj)
 {
     return(SqlDatabaseHelper.GetPrimaryColumnValue(obj, this));
 }