Exemple #1
0
        ///<summary>
        ///Delete object by primary key string(with transation).
        ///</summary>
        public static int DeleteByPrimaryKeyString(string primaryKeyString, IDbConnection connection, IDbTransaction transaction)
        {
            DO_SaleShop_Member da = new DO_SaleShop_Member();

            return(da.Delete(connection, transaction, GetConditionsByPrimaryKeyString(primaryKeyString)));
        }
Exemple #2
0
        ///<summary>
        ///Delete object by primary key(with transation).
        ///</summary>
        public static int Delete(System.Int32 UId, IDbConnection connection, IDbTransaction transaction)
        {
            DO_SaleShop_Member da = new DO_SaleShop_Member();

            return(da.Delete(connection, transaction, GetConditionsByPrimaryKey(UId)));
        }
Exemple #3
0
        ///<summary>
        ///Delete object by primary key string.
        ///</summary>
        public static int DeleteByPrimaryKeyString(string primaryKeyString)
        {
            DO_SaleShop_Member da = new DO_SaleShop_Member();

            return(da.Delete(GetConditionsByPrimaryKeyString(primaryKeyString)));
        }
Exemple #4
0
        ///<summary>
        ///Delete object by primary key.
        ///</summary>
        public static int Delete(System.Int32 UId)
        {
            DO_SaleShop_Member da = new DO_SaleShop_Member();

            return(da.Delete(GetConditionsByPrimaryKey(UId)));
        }