コード例 #1
0
        /// <summary>
        /// Create a new CustomerTbl object.
        /// </summary>
        /// <param name="cid">Initial value of the Cid property.</param>
        /// <param name="cfamily">Initial value of the Cfamily property.</param>
        /// <param name="email">Initial value of the Email property.</param>
        public static CustomerTbl CreateCustomerTbl(global::System.Int32 cid, global::System.String cfamily, global::System.String email)
        {
            CustomerTbl customerTbl = new CustomerTbl();

            customerTbl.Cid     = cid;
            customerTbl.Cfamily = cfamily;
            customerTbl.Email   = email;
            return(customerTbl);
        }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the CustomerTbls EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCustomerTbls(CustomerTbl customerTbl)
 {
     base.AddObject("CustomerTbls", customerTbl);
 }