///<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))); }
///<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))); }
///<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))); }
///<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))); }