Exemple #1
0
 public ProductKey(IAdditiveProductKey additiveProductKey) : base(additiveProductKey.AdditiveProductKey_Id)
 {
 }
Exemple #2
0
 public static AdditiveProductKey ToAdditiveProductKey(this IAdditiveProductKey k)
 {
     return(new AdditiveProductKey(k));
 }
Exemple #3
0
 public static IQueryable <AdditiveLot> FilterByProductKey(this IRepository <AdditiveLot> lotRepository, IAdditiveProductKey productKey)
 {
     if (productKey == null)
     {
         return(lotRepository.All());
     }
     return(lotRepository.Filter(l => l.AdditiveProductId == productKey.AdditiveProductKey_Id));
 }