Does anyone know of a way to configure dotConnect to use the NDB Engine?
I'm using it in Entity CodeFirst, but it always creates INNODB tables. We really need support for clustering.
Thanks!
Support for NDB Cluster Engine
Re: Support for NDB Cluster Engine
Currently there is a possibility of setting the following engines in Code-First Migrations (via the CreateTableConfiguration anonymous argument in CreateTable):trefster wrote:Does anyone know of a way to configure dotConnect to use the NDB Engine?
* InnoDB,
* MyISAM,
* Memory,
* CSV,
* Archive
We are planning to add the NDB engine support. Also there will be a global option to use a particular engine for all tables in Code-First and Code-First Migrations. We will notify you when the feature is implemented.
Re: Support for NDB Cluster Engine
- The config.DatabaseScript.Table.StorageEngine option for possibility of setting MySQL storage engine for creating tables with CreateDatabase() and Code-First Migrations functionality is implemented
- The NDB storage engine is added to the list of available MySQL storage engines for Code-First
-
- Posts: 1
- Joined: Fri 09 Oct 2015 06:28
Re: Support for NDB Cluster Engine
Hi, has this issue been resolved? How can I use Entity Framework Code first migrations with ndbcluster engine when creating a table?
Re: Support for NDB Cluster Engine
The functionality is available starting from the 7.6.242 (16-May-13) build: https://www.devart.com/dotconnect/mysql ... story.html.jonathan82 wrote:has this issue been resolved?
Please set the engine in Code-First Migrations via the CreateTableConfiguration anonymous argument in CreateTable:jonathan82 wrote:How can I use Entity Framework Code first migrations with ndbcluster engine when creating a table?
Code: Select all
CreateTable("Blogs",
c => new {
BlogId = c.Int(nullable: false, identity: true),
Name = c.String(unicode: false),
},
anonymousArguments: new CreateTableConfiguration() {
StorageEngine = Devart.Data.MySql.Entity.MySqlStorageEngine.NDB
}
)
.PrimaryKey(t => t.BlogId);