// Müşteri Entity'sini Yükle protected override void LoadEntity(DomainObject domainObject, DataRow row) { Musteri musteri = (Musteri)domainObject; musteri.Adi = row["Adi"].ToString(); this.LoadProduct(musteri); }
protected override void LoadEntity(DomainObject domainObject, System.Data.DataRow row) { Urun urun = (Urun)domainObject; urun.Adi = row["Adi"].ToString(); }
// Her entity yüklenmesi alt sınıflarda kendisine göre özel olarak yaptırılır abstract protected void LoadEntity(DomainObject domainObject, DataRow row);
// Identity Map'e Ekle. protected void AddIndentityMap(int Id, DomainObject Entity) { if (!loadedMap.ContainsKey(Id)) loadedMap.Add(Id, Entity); }