Ejemplo n.º 1
0
        public static ProductFlavour Map(this tblProductFlavour productFlavour)
        {
            ProductFlavour pf = new ProductFlavour(productFlavour.id)
            {
                Name = productFlavour.name,
                Description = productFlavour.description,
                Code = productFlavour.code,
                
                 
            };

            pf._SetStatus((EntityStatus)productFlavour.IM_Status);
            pf._SetDateCreated(productFlavour.IM_DateCreated);
            pf._SetDateLastUpdated(productFlavour.IM_DateLastUpdated);
            return pf;
        }