public RemoteObjectFetcher ( ISession session, IMetaDataStorage storage ) : System | ||
session | ISession | Session to be used. |
storage | IMetaDataStorage | Storage to look for mapped objects. |
return | System |
public RemoteObjectFetcher(ISession session, IMetaDataStorage storage) {
if (session == null) {
throw new ArgumentNullException("session");
}
if (storage == null) {
throw new ArgumentNullException("storage");
}
this.session = session;
this.storage = storage;
this.operationContext = OperationContextFactory.CreateNonCachingPathIncludingContext(this.session);
}