/// <summary>
        /// Create a new LoaiSP object.
        /// </summary>
        /// <param name="maLoaiSP">Initial value of the MaLoaiSP property.</param>
        public static LoaiSP CreateLoaiSP(global::System.Int32 maLoaiSP)
        {
            LoaiSP loaiSP = new LoaiSP();

            loaiSP.MaLoaiSP = maLoaiSP;
            return(loaiSP);
        }
 /// <summary>
 /// Deprecated Method for adding a new object to the LoaiSPs EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToLoaiSPs(LoaiSP loaiSP)
 {
     base.AddObject("LoaiSPs", loaiSP);
 }