예제 #1
0
 /// <summary>
 /// Create a new VSmallMesoscaleTabFile object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="databaseId">Initial value of the DatabaseId property.</param>
 /// <param name="latitude">Initial value of the Latitude property.</param>
 /// <param name="longitude">Initial value of the Longitude property.</param>
 public static VSmallMesoscaleTabFile CreateVSmallMesoscaleTabFile(global::System.Int32 id, global::System.Int16 databaseId, global::System.Decimal latitude, global::System.Decimal longitude)
 {
     VSmallMesoscaleTabFile vSmallMesoscaleTabFile = new VSmallMesoscaleTabFile();
     vSmallMesoscaleTabFile.Id = id;
     vSmallMesoscaleTabFile.DatabaseId = databaseId;
     vSmallMesoscaleTabFile.Latitude = latitude;
     vSmallMesoscaleTabFile.Longitude = longitude;
     return vSmallMesoscaleTabFile;
 }
예제 #2
0
 private static object[] MapDatabaseItem(VSmallMesoscaleTabFile x)
 {
     var db = x.DatabaseId == (int) DbType.FNL ? "FNL" : "MERRA";
     return new object[] {x.Id, x.Latitude, x.Longitude, db};
 }
예제 #3
0
 /// <summary>
 /// Deprecated Method for adding a new object to the VSmallMesoscaleTabFiles EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToVSmallMesoscaleTabFiles(VSmallMesoscaleTabFile vSmallMesoscaleTabFile)
 {
     base.AddObject("VSmallMesoscaleTabFiles", vSmallMesoscaleTabFile);
 }