void GuardarUsuarios() { USERS user = new USERS(); user.USER_ID=txtId.Text; user.USER_NAME=txtNom.Text; user.PASSWORD = EncriptarPassword(txtContra.Text); }
/// <summary> /// Create a new USERS object. /// </summary> /// <param name="uSER_ID">Initial value of the USER_ID property.</param> /// <param name="uSER_NAME">Initial value of the USER_NAME property.</param> /// <param name="pASSWORD">Initial value of the PASSWORD property.</param> /// <param name="lOGIN_ID">Initial value of the LOGIN_ID property.</param> /// <param name="sTATUS">Initial value of the STATUS property.</param> /// <param name="iD_COUNTRY">Initial value of the ID_COUNTRY property.</param> /// <param name="e_MAIL">Initial value of the E_MAIL property.</param> public static USERS CreateUSERS(global::System.String uSER_ID, global::System.String uSER_NAME, global::System.String pASSWORD, global::System.String lOGIN_ID, global::System.Boolean sTATUS, global::System.String iD_COUNTRY, global::System.String e_MAIL) { USERS uSERS = new USERS(); uSERS.USER_ID = uSER_ID; uSERS.USER_NAME = uSER_NAME; uSERS.PASSWORD = pASSWORD; uSERS.LOGIN_ID = lOGIN_ID; uSERS.STATUS = sTATUS; uSERS.ID_COUNTRY = iD_COUNTRY; uSERS.E_MAIL = e_MAIL; return uSERS; }
/// <summary> /// Deprecated Method for adding a new object to the USERS EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToUSERS(USERS uSERS) { base.AddObject("USERS", uSERS); }