예제 #1
0
 partial void OnLocationChanging(Location value);
예제 #2
0
 /// <summary>
 /// Create a new Project 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="isActive">Initial value of the IsActive property.</param>
 /// <param name="location">Initial value of the Location property.</param>
 public static Project CreateProject(global::System.Int32 id, global::System.String name, global::System.String description, global::System.Boolean isActive, Location location)
 {
     Project project = new Project();
     project.Id = id;
     project.Name = name;
     project.Description = description;
     project.IsActive = isActive;
     project.Location = StructuralObject.VerifyComplexObjectIsNotNull(location, "Location");
     return project;
 }
예제 #3
0
 /// <summary>
 /// Create a new Resource object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="title">Initial value of the Title property.</param>
 /// <param name="description">Initial value of the Description property.</param>
 /// <param name="quantity">Initial value of the Quantity property.</param>
 /// <param name="quantityUnits">Initial value of the QuantityUnits property.</param>
 /// <param name="location">Initial value of the Location property.</param>
 public static Resource CreateResource(global::System.Int64 id, global::System.String title, global::System.String description, global::System.Double quantity, global::System.String quantityUnits, Location location)
 {
     Resource resource = new Resource();
     resource.Id = id;
     resource.Title = title;
     resource.Description = description;
     resource.Quantity = quantity;
     resource.QuantityUnits = quantityUnits;
     resource.Location = StructuralObject.VerifyComplexObjectIsNotNull(location, "Location");
     return resource;
 }
예제 #4
0
 /// <summary>
 /// Create a new Location object.
 /// </summary>
 /// <param name="longitude">Initial value of the Longitude property.</param>
 /// <param name="latitude">Initial value of the Latitude property.</param>
 /// <param name="address">Initial value of the Address property.</param>
 public static Location CreateLocation(global::System.Double longitude, global::System.Double latitude, global::System.String address)
 {
     Location location = new Location();
     location.Longitude = longitude;
     location.Latitude = latitude;
     location.Address = address;
     return location;
 }