/// <summary> /// Create a new Contratos object. /// </summary> /// <param name="pkContratosID">Initial value of the pkContratosID property.</param> /// <param name="fkUsuariosID">Initial value of the fkUsuariosID property.</param> /// <param name="asNroContrato">Initial value of the asNroContrato property.</param> /// <param name="fkInteresID">Initial value of the fkInteresID property.</param> /// <param name="fkCuentaID">Initial value of the fkCuentaID property.</param> /// <param name="fechaContrato">Initial value of the FechaContrato property.</param> public static Contratos CreateContratos(global::System.Int32 pkContratosID, global::System.Int32 fkUsuariosID, global::System.String asNroContrato, global::System.Int32 fkInteresID, global::System.Int32 fkCuentaID, global::System.DateTime fechaContrato) { Contratos contratos = new Contratos(); contratos.pkContratosID = pkContratosID; contratos.fkUsuariosID = fkUsuariosID; contratos.asNroContrato = asNroContrato; contratos.fkInteresID = fkInteresID; contratos.fkCuentaID = fkCuentaID; contratos.FechaContrato = fechaContrato; return contratos; }
/// <summary> /// Deprecated Method for adding a new object to the Contratos EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToContratos(Contratos contratos) { base.AddObject("Contratos", contratos); }