public RepositoryException(string message, WorkspaceAttribute workAtt, TableAttribute tableAtt, bool editing)
     : base(message)
 {
     _WorkspaceInformation = workAtt;
     _TableInformation     = tableAtt;
     _editing = editing;
 }
Пример #2
0
        public Repository()
        {
            _tableAtt = GetTableDefinition;
            _workAtt  = GetWorkspaceDefinition;

            if (_workAtt.WorkspaceType == esriWorkspaceType.esriRemoteDatabaseWorkspace)
            {
                _editHandler = new RemoteWorkspaceEditHandler(GetWorkspace);
            }
            else
            {
                _editHandler = new LocalWorkspaceEditHandler(GetWorkspace);
            }
        }
 public ObjectNotFoundException(string message, Exception innerEx, WorkspaceAttribute workAtt, TableAttribute tableAtt, bool editing, object identifier)
     : base(message, innerEx, workAtt, tableAtt, editing)
 {
     _Identifier = identifier;
 }
 public ObjectNotFoundException(WorkspaceAttribute workatt, TableAttribute tableAtt, bool editing, object identifier)
     : base(workatt, tableAtt, editing)
 {
     _Identifier = identifier;
 }
Пример #5
0
 public RepositoryQueryException(string message, WorkspaceAttribute workAtt, TableAttribute tableAtt, bool editing, string whereClause)
     : base(message, workAtt, tableAtt, editing)
 {
     WhereClause = whereClause;
 }
 public RepositoryException(WorkspaceAttribute workAtt, TableAttribute tableAtt, bool editing)
 {
     _WorkspaceInformation = workAtt;
     _TableInformation     = tableAtt;
     _editing = editing;
 }