public static coreModel.QuoteAttachment ToCoreModel(this webModel.QuoteAttachment attachment)
        {
            var retVal = new coreModel.QuoteAttachment();

            retVal.InjectFrom(attachment);
            return(retVal);
        }
		public static coreModel.QuoteAttachment ToCoreModel(this dataModel.AttachmentEntity dbEntity)
		{
			if (dbEntity == null)
				throw new ArgumentNullException("dbEntity");

			var retVal = new coreModel.QuoteAttachment();
			retVal.InjectFrom(dbEntity);

			return retVal;
		}
        public static dataModel.AttachmentEntity ToDataModel(this coreModel.QuoteAttachment attachment)
        {
            if (attachment == null)
            {
                throw new ArgumentNullException("attachment");
            }

            var retVal = new dataModel.AttachmentEntity();

            retVal.InjectFrom(attachment);

            return(retVal);
        }
        public static coreModel.QuoteAttachment ToCoreModel(this dataModel.AttachmentEntity dbEntity)
        {
            if (dbEntity == null)
            {
                throw new ArgumentNullException("dbEntity");
            }

            var retVal = new coreModel.QuoteAttachment();

            retVal.InjectFrom(dbEntity);

            return(retVal);
        }
 public static coreModel.QuoteAttachment ToCoreModel(this webModel.QuoteAttachment attachment)
 {
     var retVal = new coreModel.QuoteAttachment();
     retVal.InjectFrom(attachment);
     return retVal;
 }