예제 #1
0
파일: Mappings.cs 프로젝트: formist/LinkMe
 private static ProductCreditAdjustment Map(this ProductCreditAdjustmentEntity entity)
 {
     return(new ProductCreditAdjustment
     {
         CreditId = entity.creditId,
         Quantity = entity.quantity,
         Duration = entity.duration == null ? (TimeSpan?)null : new TimeSpan(entity.duration.Value),
     });
 }
예제 #2
0
 private void detach_ProductCreditAdjustmentEntities(ProductCreditAdjustmentEntity entity)
 {
     this.SendPropertyChanging();
     entity.ProductEntity = null;
 }
예제 #3
0
 partial void DeleteProductCreditAdjustmentEntity(ProductCreditAdjustmentEntity instance);
예제 #4
0
 partial void InsertProductCreditAdjustmentEntity(ProductCreditAdjustmentEntity instance);