Пример #1
0
 private void CreateSchemata(IQueryContext context)
 {
     try {
         context.CreateSchema(InformationSchema.SchemaName, SchemaTypes.System);
         context.CreateSchema(DatabaseContext.DefaultSchema(), SchemaTypes.Default);
     } catch (DatabaseSystemException) {
         throw;
     } catch (Exception ex) {
         throw new DatabaseSystemException("Unable to create the default schema for the database.", ex);
     }
 }