/// <summary>
        /// Create a new sanpham object.
        /// </summary>
        /// <param name="id">Initial value of the id property.</param>
        /// <param name="masp">Initial value of the masp property.</param>
        /// <param name="tensp">Initial value of the tensp property.</param>
        public static sanpham Createsanpham(global::System.Int32 id, global::System.String masp, global::System.String tensp)
        {
            sanpham sanpham = new sanpham();

            sanpham.id    = id;
            sanpham.masp  = masp;
            sanpham.tensp = tensp;
            return(sanpham);
        }
 /// <summary>
 /// Deprecated Method for adding a new object to the sanphams EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTosanphams(sanpham sanpham)
 {
     base.AddObject("sanphams", sanpham);
 }