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