Ejemplo n.º 1
0
        public static IEnumerable <IPlatformTableSourceColumnInfo> GetPlatformTableSourceColumns(
            this IPlatformIntrospectionService platformIntrospectionService, ITableSourceInfo tableSource)
        {
            IDictionary <ITableSourceInfo, IPlatformTableSourceInfo> result = platformIntrospectionService.GetTableSourcesDetails(tableSource);

            return(result.IsEmpty()? null: result.First().Value.Columns);
        }
 public MySQLPlatformDatabaseServices(IRuntimeDatabaseConfiguration databaseConfiguration) : base(databaseConfiguration)
 {
     objectFactory        = new MySQLPlatformDatabaseObjectFactory(this);
     executionService     = new ExecutionService.MySQLPlatformExecutionService(this);
     dmlService           = new DMLService.MySQLPlatformDMLService(this);
     introspectionService = new MySQLPlatformIntrospectionService(this);
     ddlService           = new DDLService.MySQLDDLService(this);
     sessionService       = new Session.MySQLPlatformSessionService(this);
 }