/// <summary> /// Deprecated Method for adding a new object to the tblDocumentRefCounter EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTotblDocumentRefCounter(tblDocumentRefCounter tblDocumentRefCounter) { base.AddObject("tblDocumentRefCounter", tblDocumentRefCounter); }
/// <summary> /// Create a new tblDocumentRefCounter object. /// </summary> /// <param name="salesmanCode">Initial value of the SalesmanCode property.</param> /// <param name="counter">Initial value of the Counter property.</param> public static tblDocumentRefCounter CreatetblDocumentRefCounter(global::System.String salesmanCode, global::System.String counter) { tblDocumentRefCounter tblDocumentRefCounter = new tblDocumentRefCounter(); tblDocumentRefCounter.SalesmanCode = salesmanCode; tblDocumentRefCounter.Counter = counter; return tblDocumentRefCounter; }