Ejemplo n.º 1
0
        private void SaveVersionControlDetails()
        {
            VersionControlDetails objVCBO = new VersionControlDetails();
            objVCBO.Name = txtName.Text;
            objVCBO.VersionControlTypeID = int.Parse(ddlVC.SelectedValue);
            objVCBO.DominAddress = txtVcAddress.Text;
            objVCBO.UserName = txtUserName.Text;
            objVCBO.Password = txtPassword.Text;
            objVCBO.CreatedDate = DateTime.Now;

            DB.CreateVersionControlDetails(objVCBO);
        }
Ejemplo n.º 2
0
 public void CreateVersionControlDetails(VersionControlDetails source)
 {
     context.VersionControlDetails.AddObject(source);
        context.SaveChanges();
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Deprecated Method for adding a new object to the VersionControlDetails EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToVersionControlDetails(VersionControlDetails versionControlDetails)
 {
     base.AddObject("VersionControlDetails", versionControlDetails);
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Create a new VersionControlDetails object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="userID">Initial value of the UserID property.</param>
 /// <param name="versionControlTypeID">Initial value of the VersionControlTypeID property.</param>
 /// <param name="dominAddress">Initial value of the DominAddress property.</param>
 /// <param name="userName">Initial value of the UserName property.</param>
 /// <param name="password">Initial value of the Password property.</param>
 /// <param name="createdDate">Initial value of the CreatedDate property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 public static VersionControlDetails CreateVersionControlDetails(global::System.Int32 id, global::System.Int32 userID, global::System.Int32 versionControlTypeID, global::System.String dominAddress, global::System.String userName, global::System.String password, global::System.DateTime createdDate, global::System.String name)
 {
     VersionControlDetails versionControlDetails = new VersionControlDetails();
     versionControlDetails.ID = id;
     versionControlDetails.UserID = userID;
     versionControlDetails.VersionControlTypeID = versionControlTypeID;
     versionControlDetails.DominAddress = dominAddress;
     versionControlDetails.UserName = userName;
     versionControlDetails.Password = password;
     versionControlDetails.CreatedDate = createdDate;
     versionControlDetails.Name = name;
     return versionControlDetails;
 }