Beispiel #1
0
 public decimal GetEmployeePrice()
 {
     if (GetOnSalePrice() != null)
     {
         return((decimal)GetOnSalePrice());
     }
     else
     {
         if (employeePrice == null)
         {
             SqlStoredProcedures sqlSP = new SqlStoredProcedures();
             employeePrice = sqlSP.StoreGetProductEmployeePrice(GetProductID());
         }
         return((decimal)employeePrice);
     }
 }