Ejemplo n.º 1
0
 /// <summary>
 /// Create a new PersonalLocation object.
 /// </summary>
 /// <param name="latitude">Initial value of the Latitude property.</param>
 /// <param name="longitude">Initial value of the Longitude property.</param>
 /// <param name="description">Initial value of the Description property.</param>
 /// <param name="locationId">Initial value of the LocationId property.</param>
 /// <param name="userName">Initial value of the UserName property.</param>
 public static PersonalLocation CreatePersonalLocation(global::System.Decimal latitude, global::System.Decimal longitude, global::System.String description, global::System.Guid locationId, global::System.String userName)
 {
     PersonalLocation personalLocation = new PersonalLocation();
     personalLocation.Latitude = latitude;
     personalLocation.Longitude = longitude;
     personalLocation.Description = description;
     personalLocation.LocationId = locationId;
     personalLocation.UserName = userName;
     return personalLocation;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the PersonalLocations EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPersonalLocations(PersonalLocation personalLocation)
 {
     base.AddObject("PersonalLocations", personalLocation);
 }