/// <summary>
 /// Create a new vw_pub object.
 /// </summary>
 /// <param name="pubID">Initial value of the PubID property.</param>
 /// <param name="pubCode">Initial value of the PubCode property.</param>
 /// <param name="pubName">Initial value of the PubName property.</param>
 /// <param name="ranking">Initial value of the Ranking property.</param>
 /// <param name="mainLoginID">Initial value of the MainLoginID property.</param>
 /// <param name="createdByID">Initial value of the CreatedByID property.</param>
 /// <param name="createDate">Initial value of the CreateDate property.</param>
 /// <param name="modifiedByID">Initial value of the ModifiedByID property.</param>
 /// <param name="modifiedDate">Initial value of the ModifiedDate property.</param>
 /// <param name="activeFlag">Initial value of the ActiveFlag property.</param>
 /// <param name="deleteFlag">Initial value of the DeleteFlag property.</param>
 public static vw_pub Createvw_pub(global::System.Int32 pubID, global::System.String pubCode, global::System.String pubName, global::System.Int32 ranking, global::System.Int32 mainLoginID, global::System.Int32 createdByID, global::System.DateTime createDate, global::System.Int32 modifiedByID, global::System.DateTime modifiedDate, global::System.Int32 activeFlag, global::System.Int32 deleteFlag)
 {
     vw_pub vw_pub = new vw_pub();
     vw_pub.PubID = pubID;
     vw_pub.PubCode = pubCode;
     vw_pub.PubName = pubName;
     vw_pub.Ranking = ranking;
     vw_pub.MainLoginID = mainLoginID;
     vw_pub.CreatedByID = createdByID;
     vw_pub.CreateDate = createDate;
     vw_pub.ModifiedByID = modifiedByID;
     vw_pub.ModifiedDate = modifiedDate;
     vw_pub.ActiveFlag = activeFlag;
     vw_pub.DeleteFlag = deleteFlag;
     return vw_pub;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the vw_pub EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTovw_pub(vw_pub vw_pub)
 {
     base.AddObject("vw_pub", vw_pub);
 }