If we change case of entity name and try to upgrade DB shema this exception will be thrown:

System.ArgumentException: An item with the same key has already been added. at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource) at System.Collections.Generic.Dictionary2.Insert(TKey key, TValue value, Boolean add) at System.Collections.Generic.Dictionary2.Add(TKey key, TValue value) at Xtensive.Sql.Model.NodeCollection1.Add(TNode item) at Xtensive.Sql.Model.PairedNodeCollection2.Add(TNode item) at Xtensive.Sql.Model.Table.ChangeSchema(Schema value) at Xtensive.Sql.Model.SchemaNode.set_Schema(Schema value) at Xtensive.Sql.Model.DataTable..ctor(Schema schema, String name) at Xtensive.Sql.Model.Table..ctor(Schema schema, String name) at Xtensive.Storage.Providers.Sql.SqlActionTranslator.CreateTable(TableInfo tableInfo) at Xtensive.Storage.Providers.Sql.SqlActionTranslator.VisitCreateTableAction(CreateNodeAction action) at Xtensive.Storage.Providers.Sql.SqlActionTranslator.VisitCreateAction(CreateNodeAction action) at Xtensive.Storage.Providers.Sql.SqlActionTranslator.VisitAction(NodeAction action) at Xtensive.Storage.Providers.Sql.SqlActionTranslator.VisitAction(NodeAction action) at Xtensive.Storage.Providers.Sql.SqlActionTranslator.VisitAction(NodeAction action) at Xtensive.Storage.Providers.Sql.SqlActionTranslator.VisitAction(NodeAction action) at Xtensive.Storage.Providers.Sql.SqlActionTranslator.VisitAction(NodeAction action) at Xtensive.Storage.Providers.Sql.SqlActionTranslator.Translate() at Xtensive.Storage.Providers.Sql.SchemaUpgradeHandler.UpgradeSchema(ActionSequence upgradeActions, StorageInfo sourceSchema, StorageInfo targetSchema) at Xtensive.Orm.Building.Builders.DomainBuilder.SynchronizeSchema(SchemaUpgradeMode schemaUpgradeMode) at Xtensive.Orm.Building.Builders.DomainBuilder.BuildDomain(DomainConfiguration configuration, DomainBuilderConfiguration builderConfiguration) at Xtensive.Orm.Upgrade.UpgradingDomainBuilder.BuildStageDomain(UpgradeStage stage) at Xtensive.Orm.Upgrade.UpgradingDomainBuilder.Build(DomainConfiguration configuration) at Xtensive.Orm.Domain.Build(DomainConfiguration configuration) at DataModel.DataDomain..ctor(DomainUpgradeMode upgradeMode, Boolean inMemory, String connectionString)

asked Jan 30 '12 at 17:31

Dmitry%20F's gravatar image

Dmitry F
11669

edited Jan 31 '12 at 01:38


2 Answers:

Hello Taiwan,

Thanks for reporting. Case-insensitive database scheme comparison is introduced in the upcoming 4.5 version, so I'd recommend wait for its release and do the upgrade.

answered Jan 30 '12 at 23:55

Dmitri%20Maximov's gravatar image

Dmitri Maximov
22111211

Hello Dmitri, we have the same problem on release 4.4.3 build 9072 and we need to know if the problem has been fixed, and if so in which release?

(Nov 29 '12 at 11:02) ahmad emad ahmad%20emad's gravatar image

Thanks for fast reaction.

answered Jan 31 '12 at 01:39

Dmitry%20F's gravatar image

Dmitry F
11669

Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!
toggle preview

Subscription:

Once you sign in you will be able to subscribe for any updates here

Tags:

×56
×12
×1

Asked: Jan 30 '12 at 17:31

Seen: 2,349 times

Last updated: Nov 29 '12 at 11:02

powered by OSQA