Пример #1
0
        public static coreModel.Note ToCoreModel(this webModel.Note note)
        {
            var retVal = new coreModel.Note();

            retVal.InjectFrom(note);
            return(retVal);
        }
Пример #2
0
        public static coreModel.Note ToCoreModel(this dataModel.Note entity)
        {
            if (entity == null)
                throw new ArgumentNullException("entity");

            var retVal = new coreModel.Note();
            retVal.InjectFrom(entity);

            return retVal;
        }
Пример #3
0
        public static coreModel.Note ToCoreModel(this dataModel.Note entity)
        {
            if (entity == null)
            {
                throw new ArgumentNullException("entity");
            }

            var retVal = new coreModel.Note();

            retVal.InjectFrom(entity);

            return(retVal);
        }
Пример #4
0
		public static coreModel.Note ToCoreModel(this webModel.Note note)
		{
			var retVal = new coreModel.Note();
			retVal.InjectFrom(note);
			return retVal;
		}