Hi Dear Friend(s)
i have generated self servicing orm classes using llblgenpro.
everything works fine if there is a minimum single record exists in the sqlserver database table but if there is no record in the table, new inserted record does not get saved in the table.
(if the table is not empty insert,edit,update,delete everything works fine)
same login (binding source control with dataset) working fine and it also insert the first record without any problem, that means the problem is with llblgen pro generated classes,
may be some initialization problem when table is empty
what could be the cause of this problem ?
CertificateMasterCollection certTracker = new CertificateMasterCollection();
page load event code
CertMastColl1.GetMulti(null);
CertMastColl1.RemovedEntitiesTracker = certTracker;
CertMastBS.RaiseListChangedEvents = false; //(binding source which is binded with
CertMastColl1)
end
save command code
this.Validate();
this.CertMastBS.EndEdit();
certTracker.DeleteMulti();
CertMastColl1.SaveMulti(true);
end