Example #1
0
        public static bool Remove <T>(T albianObject)
            where T : class, IAlbianObject
        {
            if (null == albianObject)
            {
                throw new ArgumentNullException("albianObject");
            }
            TaskBuilder builder           = new TaskBuilder();
            ITask       task              = builder.BuildRemoveTask(albianObject);
            ITransactionClusterScope tran = new TransactionClusterScope();

            return(tran.Execute(task));
        }