public static GenderDAO MapToGenderDAO(Gender gender) { var g = new GenderDAO(); g.id = gender.GenderID; g.Name = gender.Name; return(g); }
public static GenderDAO MapToGenderDAO(DA.Gender gender) { var g = new GenderDAO(); g.Id = gender.GenderId; g.Name = gender.GenderName; return(g); }
public bool InsertGender(GenderDAO gender) { var g = new Gender(); g.GenderName = gender.Name; g.GenderId = gender.Id; return(ef.InsertGender(g)); }
public static DA.Gender MapToGender(GenderDAO gender) { throw new NotImplementedException(); }
public static Gender MapToGender(GenderDAO gender) { return(null); }