예제 #1
0
 public void RemoveWithUser(long oid = 0, string name = null, long uid = 0, string userName = null, long userSesionID = 0)
 {
     try
     {
         RemoveObject(ClassifiedObject.MakeKeyWithUser(oid, name, uid, userName, userSesionID));
     }
     catch
     {
         throw;
     }
 }
예제 #2
0
        public Tuple <T, object> TagGetWithUser <T>(long oid = 0, string name = null, long uid = 0, string userName = null, long userSesionID = 0)
            where T : class, new()
        {
            try
            {
                var obj = GetObject(ClassifiedObject.MakeKeyWithUser(oid, name, uid, userName, userSesionID));
                if (null == obj)
                {
                    return(null);
                }

                return(Tuple.Create(obj.GetValue <T>(), obj.Tag));
            }
            catch
            {
                throw;
            }
        }