Files
Common-VS2019/SacsStandardAccounts/Accounts/QuickBooks/Internal/SaQuickBooksDataItem.cs
T

83 lines
2.5 KiB
C#

using Sarand.Net.Standard.Accounts.QuickBooks.App;
using Sarand.Net.Standard.Accounts.QuickBooks.Base;
using Sarand.Net.Standard.Base.Core;
using Sarand.Net.Standard.Base.Bus;
using System;
using System.Collections.Generic;
using System.Text;
namespace Sarand.Net.Standard.Accounts.QuickBooks.Internal
{
//=======================================================================
public abstract class SaQuickBooksDataItem_Internal : SaQuickBooksDataItem
{
//-------------------------------------------------------------------
// Data members.
//-------------------------------------------------------------------
// Construction.
protected SaQuickBooksDataItem_Internal (Qbk.EntityType entityType) : base(entityType)
{
}
protected override void Dispose (bool disposing)
{
if (disposing)
{
}
base.Dispose(disposing);
}
//-------------------------------------------------------------------
// Properties.
//-------------------------------------------------------------------
// I t e r a t o r
//-------------------------------------------------------------------
public new abstract class Iterator : SaQuickBooksDataItem.Iterator
{
//---------------------------------------------------------------
// Data members.
//---------------------------------------------------------------
// Construction.
protected Iterator (Qbk.EntityType entityType) : base(entityType)
{
}
protected override void Dispose (bool disposing)
{
if (disposing)
{
}
base.Dispose(disposing);
}
//---------------------------------------------------------------
// Properties.
//---------------------------------------------------------------
// Database.
protected String GetPrimaryTableName ()
{
// ToDo return dfnDb.GetTableName(GetPrimaryTable());
return "";
}
/*
protected eQBooksDbTable GetPrimaryTable (Qbk.EntityType entityType)
{
switch (entityType)
{
// Contacts:
case Qbk.EntityType.Vendor: return eQBooksDbTblVendor;
case Qbk.EntityType.Customer: return eQBooksDbTblCustomer;
case Qbk.EntityType.Item: return eQBooksDbTblItem;
}
return eQBooksDbTblUnknown;
}
*/
//---------------------------------------------------------------
// Utilities.
//---------------------------------------------------------------
}
//-------------------------------------------------------------------
}
//=======================================================================
}