/// <summary>
 /// Update
 /// </summary>
 /// <param name="_SqlTranExtensions">事物对象</param>
 public void Update(DealMvc.SqlTranEx.SqlTranExtensions _SqlTranExtensions)
 {
     Update(this as T, _SqlTranExtensions);
 }
        /// <summary>
        /// DeleteWhere
        /// </summary>
        /// <param name="func">Lambda形式条件和参数</param>
        /// <param name="_SqlTranExtensions">事务对象</param>
        public static void DeleteWhere(System.Linq.Expressions.Expression <Func <T, bool> > func, DealMvc.SqlTranEx.SqlTranExtensions _SqlTranExtensions)
        {
            SQLAndParameter _SP = LambdaToSQL.GetWhere <T>(func).CheckSQLSort(SQLSort.SQLWhere);

            Orm.EntityCore <T> .DeleteWhere(_SP.SQL, _SP.Parameter.Re_SqlParameter(), _SqlTranExtensions);
        }
        /*
         * /// <summary>
         * /// DeleteWhere
         * /// </summary>
         * /// <param name="where">条件</param>
         * /// <param name="cmdParms">参数</param>
         * public static void DeleteWhere(string where, System.Data.SqlClient.SqlParameter[] cmdParms)
         * { Orm.EntityCore<Member>.DeleteWhere(where, cmdParms); }
         *
         * /// <summary>
         * /// DeleteWhere
         * /// </summary>
         * /// <param name="where">条件</param>
         * /// <param name="cmdParms">参数</param>
         * /// <param name="_SqlTranExtensions">事物对象</param>
         * public static void DeleteWhere(string where, System.Data.SqlClient.SqlParameter[] cmdParms, DealMvc.SqlTranEx.SqlTranExtensions _SqlTranExtensions)
         * { Orm.EntityCore<Member>.DeleteWhere(where, cmdParms, _SqlTranExtensions); }
         *
         * /// <summary>
         * /// DeleteWhere
         * /// </summary>
         * /// <param name="where">条件</param>
         * /// <param name="objects">参数</param>
         * public static void DeleteWhere(string where, params object[] objects)
         * { Orm.EntityCore<Member>.DeleteWhere(where, objects); }
         *
         * /// <summary>
         * /// DeleteWhere
         * /// </summary>
         * /// <param name="where">条件</param>
         * /// <param name="objects">参数</param>
         * /// <param name="_SqlTranExtensions">事物对象</param>
         * public static void DeleteWhere(string where, object[] objects, DealMvc.SqlTranEx.SqlTranExtensions _SqlTranExtensions)
         * { Orm.EntityCore<Member>.DeleteWhere(where, objects, _SqlTranExtensions); }
         */
        #endregion

        #region Update

        /// <summary>
        /// Update
        /// </summary>
        /// <param name="model">当前实例</param>
        /// <param name="_SqlTranExtensions">事物对象</param>
        public static void Update(T model, DealMvc.SqlTranEx.SqlTranExtensions _SqlTranExtensions)
        {
            Orm.EntityCore <T> .Update(model, _SqlTranExtensions);
        }