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

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

            return(da.Delete(connection, transaction, GetConditionsByPrimaryKey(ID)));
        }
Esempio n. 3
0
        ///<summary>
        ///Delete object by primary key string.
        ///</summary>
        public static int DeleteByPrimaryKeyString(string primaryKeyString)
        {
            DO_AirfareMarkupMode da = new DO_AirfareMarkupMode();

            return(da.Delete(GetConditionsByPrimaryKeyString(primaryKeyString)));
        }
Esempio n. 4
0
        ///<summary>
        ///Delete object by primary key.
        ///</summary>
        public static int Delete(System.Int32 ID)
        {
            DO_AirfareMarkupMode da = new DO_AirfareMarkupMode();

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