public virtual bool Update(out string errorMsg) { using (MessageString _errorMsg = new MessageString()) try { return(Update(_errorMsg)); } finally { errorMsg = _errorMsg.ToString(); } }
public virtual bool SetEnabled(string tableName, out string errorMsg) { using (MessageString _errorMsg = new MessageString()) try { return(SetEnabled(tableName, _errorMsg)); } finally { errorMsg = _errorMsg.ToString(); } }
public virtual bool Fill(SqlConnection connection, T primaryKey, out string errorMsg) { using (MessageString _errorMsg = new MessageString()) try { return(Fill(connection, primaryKey, _errorMsg)); } finally { errorMsg = _errorMsg.ToString(); } }
public virtual bool IsUsed(SqlConnection connection, out string errorMsg) { using (MessageString _errorMsg = new MessageString()) try { return(IsUsed(connection, _errorMsg)); } finally { errorMsg = _errorMsg.ToString(); } }
public virtual IEnumerable <TblModel> GetAll <TblModel>(out string errorMsg) where TblModel : ITableModel, new() { using (MessageString _errorMsg = new MessageString()) try { return(GetAll <TblModel>(_errorMsg)); } finally { errorMsg = _errorMsg.ToString(); } }
public virtual SqlDataReader GetAll(out string errorMsg) { using (MessageString _errorMsg = new MessageString()) try { return(GetAll(_errorMsg)); } finally { errorMsg = _errorMsg.ToString(); } }
public SqlDataReader GetSingleRow(out string errorMsg) { using (MessageString _errorMsg = new MessageString()) try { return(GetSingleRow(_errorMsg)); } finally { errorMsg = _errorMsg.ToString(); } }
public virtual bool Fill(SqlDataReader dataReader, out string errorMsg) { using (MessageString _errorMsg = new MessageString()) try { return(Fill(dataReader, _errorMsg)); } finally { errorMsg = _errorMsg.ToString(); } }
public T ExecScalar <T>(out string errorMsg, T defaultValue) { using (MessageString _errorMsg = new MessageString()) try { return(ExecScalar <T>(_errorMsg, defaultValue)); } finally { errorMsg = _errorMsg.ToString(); } }
public int Exec(out string errorMsg) { using (MessageString _errorMsg = new MessageString()) try { return(Exec(_errorMsg)); } finally { errorMsg = _errorMsg.ToString(); } }
public virtual bool Update(SqlConnection connection, SqlTransaction transaction, out string errorMsg) { using (MessageString _errorMsg = new MessageString()) try { return(Update(connection, transaction, _errorMsg)); } finally { errorMsg = _errorMsg.ToString(); } }
public static bool IsOpened(this SqlConnection connection, out string errorMsg) { using (MessageString _errorMsg = new MessageString()) try { return(IsOpened(connection, _errorMsg)); } finally { errorMsg = _errorMsg.ToString(); } }
public virtual bool SetEnabled( SqlConnection connection, SqlTransaction transaction, string tableName, out string errorMsg) { using (MessageString _errorMsg = new MessageString()) try { return(SetEnabled(connection, transaction, tableName, _errorMsg)); } finally { errorMsg = _errorMsg.ToString(); } }
public virtual SqlDataReader GetAll( SqlConnection connection, CommandBehavior commandBehavior, out string errorMsg) { using (MessageString _errorMsg = new MessageString()) try { return(GetAll(connection, commandBehavior, _errorMsg)); } finally { errorMsg = _errorMsg.ToString(); } }
public static SqlDataReader GetAllDataReader <TblModel>(out string errorMsg) where TblModel : ITableModel, new() { using (MessageString _errorMsg = new MessageString()) try { return(GetAllDataReader <TblModel>(_errorMsg)); } finally { errorMsg = _errorMsg.ToString(); } }
public static SqlDataReader GetAllDataReader <TblModel>( SqlConnection connection, CommandBehavior commandBehavior, out string errorMsg) where TblModel : ITableModel, new() { using (MessageString _errorMsg = new MessageString()) try { return(GetAllDataReader <TblModel>(connection, commandBehavior, _errorMsg)); } finally { errorMsg = _errorMsg.ToString(); } }
public virtual IEnumerable <TblModel> GetAll <TblModel>( SqlConnection connection, CommandBehavior commandBehavior, out string errorMsg) where TblModel : ITableModel, new() { using (MessageString _errorMsg = new MessageString()) try { return(GetAll <TblModel>(connection, commandBehavior, _errorMsg)); } finally { errorMsg = _errorMsg.ToString(); } }
public static SqlDataReader Get( this SqlConnection connection, string sqlText, CommandType commandType, CommandBehavior commandBehavior, IEnumerable <SqlParameter> parmList, out string errorMsg) { using (MessageString _errorMsg = new MessageString()) try { return(Get(connection, sqlText, commandType, commandBehavior, parmList, _errorMsg)); } finally { errorMsg = _errorMsg.ToString(); } }
public static int Exec( this SqlConnection connection, SqlTransaction transaction, CommandType commandType, string sqlText, IEnumerable <SqlParameter> parmList, out string errorMsg) { using (MessageString _errorMsg = new MessageString()) try { return(Exec(connection, transaction, commandType, sqlText, parmList, _errorMsg)); } finally { errorMsg = _errorMsg.ToString(); } }
public override string ToString() { var itemsString = ""; if (Items != null) { foreach (var item in Items) { itemsString += "\r\n" + item.ToString(); } } return("MarketplaceCode=" + MarketplaceCode + ", OrderID=" + OrderID + ", OrderEntityId=" + OrderEntityId + ", WeightLb=" + WeightLb + ", WeightOz=" + WeightOz + ", PackageHeight=" + PackageHeight + ", PackageWidth=" + PackageWidth + ", PackageLength=" + PackageLength + ", TotalPrice=" + TotalPrice + ", ShipmentProviderId=" + ShipmentProviderId + ", ShippingMethodSelected=" + ShippingMethodSelected + ", HasMailLabels=" + HasMailLabels + ", HasBatchLabels=" + HasBatchLabels + ", Notes=" + Notes + ", Instruction=" + Instructions + ", ReasonCode=" + ReasonCode + ", UpdateAmazon=" + UpdateAmazon + ", CancelCurrentOrderLabel=" + CancelCurrentOrderLabel + ", IsInsured=" + IsInsured + ", IsSignConfirmation=" + IsSignConfirmation + ", IsAddressSwitched=" + IsAddressSwitched + ", OrderComment=" + OrderComment + ", Message=" + MessageString.ToString(Messages) + ", IsPrinted=" + IsPrinted + ", PrintedLabelUrl=" + PrintedLabelUrl + ", PrintedTrackingNumber=" + PrintedTrackingNumber + itemsString); }
public MessageString Append(MessageString ms) { return(Append(ms.ToString())); }
public bool Equals(MessageString ms) { return(Equals(ms.ToString())); }
public MessageString AppendLine(MessageString ms) { _messageBuilder.AppendLine(ms.ToString()); return(this); }