Пример #1
0
        static public void Delete(System.Int32 userId, esSqlAccessType sqlAccessType)
        {
            var obj = new User();

            obj.UserId = userId;
            obj.AcceptChanges();
            obj.MarkAsDeleted();
            obj.Save(sqlAccessType);
        }
Пример #2
0
        static public void Delete(System.Int32 userId)
        {
            var obj = new User();

            obj.UserId = userId;
            obj.AcceptChanges();
            obj.MarkAsDeleted();
            obj.Save();
        }