コード例 #1
0
 public DataContext(IConnectionOptions builder) : this(builder.ToInsecureConnectionString(),
                                                       builder.GetProviderFactory())
 {
     _connectionOptions = builder;
 }
コード例 #2
0
 public EventsListener(IConnectionOptions builder, params string[] events)
 {
     _remoteEvent = new FbRemoteEvent(builder.ToInsecureConnectionString());
     _remoteEvent.RemoteEventCounts += OnRemoteEvent;
     _remoteEvent.QueueEvents(events);
 }