Example #1
0
        /// <summary>
        /// Create a new AdsTbl object.
        /// </summary>
        /// <param name="aId">Initial value of the AId property.</param>
        /// <param name="productName">Initial value of the ProductName property.</param>
        public static AdsTbl CreateAdsTbl(global::System.Int32 aId, global::System.String productName)
        {
            AdsTbl adsTbl = new AdsTbl();

            adsTbl.AId         = aId;
            adsTbl.ProductName = productName;
            return(adsTbl);
        }
Example #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the AdsTbls EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToAdsTbls(AdsTbl adsTbl)
 {
     base.AddObject("AdsTbls", adsTbl);
 }