Blog.Logic.ObjectMapper.EducationTypeMapper.ToEntity C# (CSharp) Метод

ToEntity() публичный статический Метод

public static ToEntity ( EducationType educationType ) : EducationType
educationType EducationType
Результат Blog.DataAccess.Database.Entities.Objects.EducationType
        public static Db.EducationType ToEntity(EducationType educationType)
        {
            return educationType == null ? null : 
                new Db.EducationType
                {
                    EducationTypeId = educationType.EducationTypeId,
                    EducationTypeName = educationType.EducationTypeName
                };
        }
    }
EducationTypeMapper