예제 #1
0
 ///<Summary>
 ///SuppliersCollectionCount
 ///This method returns the collection count of BOSuppliers objects
 ///</Summary>
 ///<returns>
 ///Int32
 ///</returns>
 ///<parameters>
 ///
 ///</parameters>
 public static Int32 SuppliersCollectionCount(ISuppliersRepository iSuppliersRepository)
 {
     Doing(null);
     try
     {
         Int32 objCount = iSuppliersRepository.SelectAllCount();
         return(objCount);
     }
     catch (Exception ex)
     {
         Failed(null, ex);
         Handle(null, ex);
         return(-1);
     }
 }