/// <summary> /// Deprecated Method for adding a new object to the Sistema EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSistema(Sistema sistema) { base.AddObject("Sistema", sistema); }
/// <summary> /// Create a new Sistema object. /// </summary> /// <param name="idSistema">Initial value of the idSistema property.</param> /// <param name="nombre">Initial value of the Nombre property.</param> /// <param name="version">Initial value of the Version property.</param> /// <param name="idEstado">Initial value of the idEstado property.</param> public static Sistema CreateSistema(global::System.Int32 idSistema, global::System.String nombre, global::System.String version, global::System.Int32 idEstado) { Sistema sistema = new Sistema(); sistema.idSistema = idSistema; sistema.Nombre = nombre; sistema.Version = version; sistema.idEstado = idEstado; return sistema; }