Ejemplo n.º 1
0
 /// <summary>
 /// Create a new Query object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="text">Initial value of the Text property.</param>
 /// <param name="description">Initial value of the Description property.</param>
 /// <param name="displayOnHomeScreen">Initial value of the DisplayOnHomeScreen property.</param>
 /// <param name="databaseTypeId">Initial value of the DatabaseTypeId property.</param>
 /// <param name="userId">Initial value of the UserId property.</param>
 public static Query CreateQuery(global::System.Int32 id, global::System.String text, global::System.String description, global::System.Boolean displayOnHomeScreen, global::System.Int32 databaseTypeId, global::System.Int32 userId)
 {
     Query query = new Query();
     query.Id = id;
     query.Text = text;
     query.Description = description;
     query.DisplayOnHomeScreen = displayOnHomeScreen;
     query.DatabaseTypeId = databaseTypeId;
     query.UserId = userId;
     return query;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Queries EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToQueries(Query query)
 {
     base.AddObject("Queries", query);
 }