Example #1
0
        public Task <bool> ExecuteCommandIdentityIntoEntityAsync()
        {
            Task <bool> result = new Task <bool>(() =>
            {
                IInsertable <T> asyncInsertable = CopyInsertable();
                return(asyncInsertable.ExecuteCommandIdentityIntoEntity());
            });

            result.Start();
            return(result);
        }
Example #2
0
 /// <summary>
 ///
 /// </summary>
 /// <returns></returns>
 public bool ExecuteCommandIdentityIntoEntity()
 {
     return(_insertable.ExecuteCommandIdentityIntoEntity());
 }