protected override void AfterAdd(DataRow row) { appDB.ddGenericRow dr = (appDB.ddGenericRow)row; string ObjectName = this.myddGenericDT.TableName; dr.GenericId = myA.PKIDGet(ObjectName, 10); dr.Obsolete = false; dr.ReadOnly = false; }
protected override void AfterAdd(DataRow row) { appDB.ddLookupRow dr = (appDB.ddLookupRow)row; string ObjectName = this.myddLookupDT.TableName; dr.LookupId = myA.PKIDGet(ObjectName, 10); dr.LookupType = "GEN"; dr.Cache = true; dr.IncludeObsolete = false; dr.UseFileContext = false; }