Exemplo n.º 1
0
 /// <summary>
 /// Create a new datum object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="projectid">Initial value of the projectid property.</param>
 /// <param name="userid">Initial value of the userid property.</param>
 /// <param name="data">Initial value of the data property.</param>
 /// <param name="time">Initial value of the time property.</param>
 /// <param name="location">Initial value of the location property.</param>
 public static datum Createdatum(global::System.Int32 id, global::System.Int32 projectid, global::System.Int32 userid, global::System.String data, global::System.DateTime time, global::System.String location)
 {
     datum datum = new datum();
     datum.ID = id;
     datum.projectid = projectid;
     datum.userid = userid;
     datum.data = data;
     datum.time = time;
     datum.location = location;
     return datum;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the data EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTodata(datum datum)
 {
     base.AddObject("data", datum);
 }