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), }); }
private void detach_ProductCreditAdjustmentEntities(ProductCreditAdjustmentEntity entity) { this.SendPropertyChanging(); entity.ProductEntity = null; }
partial void DeleteProductCreditAdjustmentEntity(ProductCreditAdjustmentEntity instance);
partial void InsertProductCreditAdjustmentEntity(ProductCreditAdjustmentEntity instance);