예제 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the userarticles EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTouserarticles(userarticle userarticle)
 {
     base.AddObject("userarticles", userarticle);
 }
예제 #2
0
 /// <summary>
 /// Create a new userarticle object.
 /// </summary>
 /// <param name="artid">Initial value of the artid property.</param>
 /// <param name="uid">Initial value of the uid property.</param>
 /// <param name="catid">Initial value of the catid property.</param>
 /// <param name="subcatid">Initial value of the subcatid property.</param>
 public static userarticle Createuserarticle(global::System.Int32 artid, global::System.Int32 uid, global::System.Int32 catid, global::System.Int32 subcatid)
 {
     userarticle userarticle = new userarticle();
     userarticle.artid = artid;
     userarticle.uid = uid;
     userarticle.catid = catid;
     userarticle.subcatid = subcatid;
     return userarticle;
 }