Exemple #1
0
 private void setIdCatalog()
 {
     if (objectSpace != null && !objectSpace.IsObjectToDelete(this) && !this.IdCatalog.HasValue)
     {
         this.IdCatalog = DbMethods.Registration(ID_DIRECTORY_TYPE).Value;
     }
 }
Exemple #2
0
 void IXafEntityObject.OnSaving()
 {
     if (objectSpace != null && !objectSpace.IsObjectToDelete(this) && !this.IdCatalog.HasValue)
     {
         this.IdCatalog = DbMethods.Registration(ID_DIRECTORY_TYPE).Value;
     }
 }