コード例 #1
0
ファイル: CurrentTargetsAccess.cs プロジェクト: mbithy/Octane
 public CurrentTargetsAccess(BaseOps dapProvider)
 {
     if(dapProvider != null &&
         dapProvider.ConnectionContainer != null &&
         dapProvider.ConnectionContainer.Connection != null)
     {
         LeaveOpen = dapProvider.LeaveOpen;
         ConnectionContainer = dapProvider.ConnectionContainer;
     }
 }
コード例 #2
0
 public ExpeditureSubTypeAccess(BaseOps dapProvider)
 {
     if(dapProvider != null &&
         dapProvider.ConnectionContainer != null &&
         dapProvider.ConnectionContainer.Connection != null)
     {
         LeaveOpen = dapProvider.LeaveOpen;
         ConnectionContainer = dapProvider.ConnectionContainer;
     }
 }
コード例 #3
0
ファイル: IncomeAccess.cs プロジェクト: mbithy/Octane
 public IncomeAccess(BaseOps dapProvider)
 {
     if(dapProvider != null &&
         dapProvider.ConnectionContainer != null &&
         dapProvider.ConnectionContainer.Connection != null)
     {
         LeaveOpen = dapProvider.LeaveOpen;
         ConnectionContainer = dapProvider.ConnectionContainer;
     }
 }
コード例 #4
0
ファイル: NotificationAccess.cs プロジェクト: mbithy/Octane
 public NotificationAccess(BaseOps dapProvider)
 {
     if (dapProvider?.ConnectionContainer == null || dapProvider.ConnectionContainer.Connection == null) return;
     LeaveOpen = dapProvider.LeaveOpen;
     ConnectionContainer = dapProvider.ConnectionContainer;
 }