Interface ISchemaMigrationProvider
Inherited Members
System.IDisposable.Dispose()
Namespace: Mars.Core.Data
Assembly: Mars.Core.dll
Syntax
public interface ISchemaMigrationProvider : IDisposable
Methods
| Improve this Doc View SourceMigrateFrameSchema(DataFrame)
Applies the schema migration for the most common DataFrame structure.
Declaration
string MigrateFrameSchema(DataFrame frame)
Parameters
| Type | Name | Description |
|---|---|---|
| DataFrame | frame |
Returns
| Type | Description |
|---|---|
| System.String |
MigrateSchema(IGeneratedLayerLogger)
Applies the schema migration for the specified layer type,
encapsulated as an IGeneratedLayerLogger.
This method creates the corresponding schema for
this type in the corresponding wrapper.
Declaration
string MigrateSchema(IGeneratedLayerLogger layerLogger)
Parameters
| Type | Name | Description |
|---|---|---|
| IGeneratedLayerLogger | layerLogger | The layer logger containing the concrete layer instance. |
Returns
| Type | Description |
|---|---|
| System.String |
Remarks
In dependence of the selected mapper, the schema can be any kind of schema, e.g.
a relational Postgres, SqLite schema or a Cassandra a big table one.
|
Improve this Doc
View Source
MigrateSchema(IGeneratedTypeLogger)
Applies the schema migration for the specified entity type,
encapsulated as an IGeneratedEntityLogger.
This method creates the corresponding schema for
this type in the corresponding wrapper.
Declaration
string MigrateSchema(IGeneratedTypeLogger typeLogger)
Parameters
| Type | Name | Description |
|---|---|---|
| IGeneratedTypeLogger | typeLogger | The entity type logger containing the references to all entities. |
Returns
| Type | Description |
|---|---|
| System.String |
Remarks
In dependence of the selected mapper, the schema can be any kind of schema, e.g.
a relational Postgres, SqLite or Cassandra a big table one.
|
Improve this Doc
View Source
MigrateSchema(IEnumerable<IGeneratedLayerLogger>)
Applies the schema migration for the specified set of layer type,
encapsulated as an IGeneratedLayerLogger.
This method creates the corresponding schema for
this type in the corresponding wrapper.
Declaration
string MigrateSchema(IEnumerable<IGeneratedLayerLogger> typeLoggers)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Collections.Generic.IEnumerable<IGeneratedLayerLogger> | typeLoggers | The collection of layer logger containing the concrete layer instance. |
Returns
| Type | Description |
|---|---|
| System.String |
Remarks
In dependence of the selected mapper, the schema can be any kind of schema, e.g.
a relational Postgres, SqLite schema or a Cassandra a big table one.
|
Improve this Doc
View Source
MigrateSchema(IEnumerable<IGeneratedTypeLogger>)
Applies the schema migration for the specified set of entity type,
encapsulated as an IGeneratedEntityLogger.
This method creates the corresponding schema for
this type in the corresponding wrapper.
Declaration
string MigrateSchema(IEnumerable<IGeneratedTypeLogger> typeLoggers)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Collections.Generic.IEnumerable<IGeneratedTypeLogger> | typeLoggers | The collection of entity type logger containing the references to all entities. |
Returns
| Type | Description |
|---|---|
| System.String |
Remarks
In dependence of the selected mapper, the schema can be any kind of schema, e.g.
a relational Postgres, SqLite or Cassandra a big table one.
|
Improve this Doc
View Source
Setup()
Prepares the migration task in order to generate resourced before.
Declaration
string Setup()
Returns
| Type | Description |
|---|---|
| System.String |