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_AirfareLastView da = new DO_AirfareLastView();

            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_AirfareLastView da = new DO_AirfareLastView();

            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_AirfareLastView da = new DO_AirfareLastView();

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

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