public void Update(DalImage entity)
 {
     throw new NotImplementedException();
 }
 public void Delete(DalImage e)
 {
     throw new NotImplementedException();
 }
Beispiel #3
0
 internal static BllImage ToBllImage(DalImage dalImage)
 {
     if (dalImage != null) return new BllImage()
     {
         Id = dalImage.Id,
         Image = dalImage.Image,
         MimeType = dalImage.MimeType,
         LotId = dalImage.LotId
     };
     return null;
 }
 public void Create(DalImage dalimage)
 {
     context.Set<OrmImage>().Add(Maper.ToOrmImage(dalimage));
 }
Beispiel #5
0
 internal static OrmImage ToOrmImage(DalImage dalimage)
 {
     if (dalimage != null) return new OrmImage()
     {
         Id = dalimage.Id,
         Image = dalimage.Image,
         MimeType = dalimage.MimeType,
         OrmLotId = dalimage.LotId
     };
     return null;
 }