コード例 #1
0
 /// <summary>
 /// Create a new UserLocation object.
 /// </summary>
 /// <param name="rowID">Initial value of the RowID property.</param>
 /// <param name="userGuid">Initial value of the UserGuid property.</param>
 /// <param name="siteGuid">Initial value of the SiteGuid property.</param>
 /// <param name="iPAddress">Initial value of the IPAddress property.</param>
 /// <param name="iPAddressLong">Initial value of the IPAddressLong property.</param>
 /// <param name="longitude">Initial value of the Longitude property.</param>
 /// <param name="latitude">Initial value of the Latitude property.</param>
 /// <param name="captureCount">Initial value of the CaptureCount property.</param>
 /// <param name="firstCaptureUTC">Initial value of the FirstCaptureUTC property.</param>
 /// <param name="lastCaptureUTC">Initial value of the LastCaptureUTC property.</param>
 public static UserLocation CreateUserLocation(global::System.Guid rowID, global::System.Guid userGuid, global::System.Guid siteGuid, global::System.String iPAddress, global::System.Int64 iPAddressLong, global::System.Double longitude, global::System.Double latitude, global::System.Int32 captureCount, global::System.DateTime firstCaptureUTC, global::System.DateTime lastCaptureUTC)
 {
     UserLocation userLocation = new UserLocation();
     userLocation.RowID = rowID;
     userLocation.UserGuid = userGuid;
     userLocation.SiteGuid = siteGuid;
     userLocation.IPAddress = iPAddress;
     userLocation.IPAddressLong = iPAddressLong;
     userLocation.Longitude = longitude;
     userLocation.Latitude = latitude;
     userLocation.CaptureCount = captureCount;
     userLocation.FirstCaptureUTC = firstCaptureUTC;
     userLocation.LastCaptureUTC = lastCaptureUTC;
     return userLocation;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the UserLocations EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToUserLocations(UserLocation userLocation)
 {
     base.AddObject("UserLocations", userLocation);
 }