/// <summary> /// Deprecated Method for adding a new object to the tblCor EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTotblCor(tblCor tblCor) { base.AddObject("tblCor", tblCor); }
/// <summary> /// Create a new tblCor object. /// </summary> /// <param name="idCor">Initial value of the idCor property.</param> /// <param name="descricao">Initial value of the descricao property.</param> public static tblCor CreatetblCor(global::System.Int32 idCor, global::System.String descricao) { tblCor tblCor = new tblCor(); tblCor.idCor = idCor; tblCor.descricao = descricao; return tblCor; }