Пример #1
0
 partial void OnAuditFieldsChanging(AuditFields value);
Пример #2
0
 /// <summary>
 /// Create a new AuditFields object.
 /// </summary>
 /// <param name="createDate">Initial value of the CreateDate property.</param>
 /// <param name="modifiedDate">Initial value of the ModifiedDate property.</param>
 public static AuditFields CreateAuditFields(global::System.DateTime createDate, global::System.DateTime modifiedDate)
 {
     AuditFields auditFields = new AuditFields();
     auditFields.CreateDate = createDate;
     auditFields.ModifiedDate = modifiedDate;
     return auditFields;
 }
Пример #3
0
 /// <summary>
 /// Create a new Product object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="description">Initial value of the Description property.</param>
 /// <param name="price">Initial value of the Price property.</param>
 /// <param name="auditFields">Initial value of the AuditFields property.</param>
 public static Product CreateProduct(global::System.Int32 id, global::System.String name, global::System.String description, global::System.Decimal price, AuditFields auditFields)
 {
     Product product = new Product();
     product.Id = id;
     product.Name = name;
     product.Description = description;
     product.Price = price;
     product.AuditFields = StructuralObject.VerifyComplexObjectIsNotNull(auditFields, "AuditFields");
     return product;
 }