Exemplo n.º 1
0
 /// <summary>
 /// Create a new View object.
 /// </summary>
 /// <param name="viewID">Initial value of the ViewID property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="createUserID">Initial value of the CreateUserID property.</param>
 /// <param name="createTime">Initial value of the CreateTime property.</param>
 /// <param name="rootObjID">Initial value of the RootObjID property.</param>
 /// <param name="modificationTime">Initial value of the ModificationTime property.</param>
 /// <param name="status">Initial value of the Status property.</param>
 public static View CreateView(global::System.Int32 viewID, global::System.String name, global::System.Byte[] createUserID, global::System.Int32 createTime, global::System.Int32 rootObjID, global::System.Int32 modificationTime, global::System.Int32 status)
 {
     View view = new View();
     view.ViewID = viewID;
     view.Name = name;
     view.CreateUserID = createUserID;
     view.CreateTime = createTime;
     view.RootObjID = rootObjID;
     view.ModificationTime = modificationTime;
     view.Status = status;
     return view;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Views EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToViews(View view)
 {
     base.AddObject("Views", view);
 }