예제 #1
0
        /// <summary>
        /// Create a new App2Item object.
        /// </summary>
        /// <param name="id">Initial value of the Id property.</param>
        /// <param name="name">Initial value of the Name property.</param>
        /// <param name="rowVersion">Initial value of the RowVersion property.</param>
        public static App2Item CreateApp2Item(global::System.Int32 id, global::System.String name, global::System.Byte[] rowVersion)
        {
            App2Item app2Item = new App2Item();

            app2Item.Id         = id;
            app2Item.Name       = name;
            app2Item.RowVersion = rowVersion;
            return(app2Item);
        }
예제 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the App2Items EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToApp2Items(App2Item app2Item)
 {
     base.AddObject("App2Items", app2Item);
 }