Search
Closed
as Fixed Help for as Fixed

0
Sign in to vote
0
Sign in to vote
Sign in
to vote
Type: Bug
ID: 447855
Opened: 5/11/2009 7:20:47 PM
Access Restriction: Public
0
Workaround(s)
0
User(s) can reproduce this bug
Visual Studio 2008のADO.NET Entity Data Model Designer に表示される エンティティクラスの名前を変更すると、エンティティセットの名前が自動で変更されます。
このときの名前が不適切です。

たとえば、Ordersというクラス名を 単数形のOrderという名前に変更すると、
モデルブラウザで確認できる該当するエンティティセットの名前が、「Order設定」という名前に変更されます。
この「設定」という名前は、どう考えても正しくないと思われます。
英語版を確認したわけではありませんが、
OrderSet
が正しい名前だと思われます。
英語版と同じ動作にしてください。
Details (expand)
製品言語
日本語
バージョン
Visual Studio 2008 Service Pack 1
オペレーティング システム
Vista
オペレーティング システム言語
日本語
再現の手順
[プロジェクト]-[新しい項目の追加]で、「ADO.NET Entity Data Model」
を選択し、既存データベースから、データモデルを生成します。
生成したデータモデルをデザイナー画面で、エンティティの名前を変更します。
すると、自動的に、エンティティセットの名前が「Xxxxx設定」となります。
実際の結果
例えば、OrdersをOrderに変えると、
Order設定 という名前になります。
期待した結果
エンティティセットの名前が、OrderSet という名前になる。
File Attachments
0 attachments
Sign in to post a comment.
Posted by Microsoft on 5/12/2009 at 6:43 PM

この度は、フィードバックをお送りいただき、誠にありがとうございます。 現在、お送りいただきました報告内容に基づき問題を調査中ですので、しばらくお待ちください。 よろしくお願いいたします。

[Problem Description]
When you change an entity class name displayed in the ADO.NET Entity Data Model Designer on Visual Studio 2008, its entity set name is changed to an inappropriate one automatically.

For instance, when you change a class name "Orders" to a singular form "Order," its entity set name displayed in the model browser is changed to "Order設定." I think the name "設定" is not appropriate at all. I’ve not yet checked the English version, but I assume the correct name should be "OrderSet." It’s preferred to have the same behavior as the English version.

[Repro Steps]
1. Go to [Project] > [Add New Item], select [ADO.NET Entity Data Model], and create a data model from an existing database.
2. Change the entity name of the generated data model on the designer window.
3. Its entity set name is changed to "XXX設定."

[Actual Results]
For instance, when you change an entity name "Orders" to "Order," its entity set name is changed to "Order設定."

[Expected Results]
The entity set name should be changed to "OrderSet."

Posted by Microsoft on 5/12/2009 at 11:02 PM
フィードバックありがとうございます。
只今この問題に関して、次期バージョンのVisual studioにて対応を検討させていただいています。
次期バージョンでは Entity Data Model Designer のデザインを見直していますので、その中でこの問題の修正対応を予定しています。

Visual Studio 2010 Beta1 がリリースされましたら、ご確認いただけると思います。

今後とも、よろしくお願いします。
Posted by Microsoft on 5/13/2009 at 3:27 AM
Thanks for reporting this issue. We are escalating this bug to the product unit who works on that specific feature area. The team will review this issue and make a decision on whether they will fix it or not for the next release.

Thank you,
Visual Studio Product Team
Posted by Microsoft on 5/13/2009 at 5:47 PM

(こちらは、Posted by Microsoft on 5/13/2009 at 3:27 AM の和訳です。)

問題をご報告いただき、ありがとうございます。 こちらのバグに関しましては、該当する機能を専門で担当している製品チームに報告させていただきます。 今後は、同チームが問題を再調査し、次期リリースでの修正について判断する予定です。 よろしくお願いいたします。

Visual Studio 製品チーム

Posted by Microsoft on 5/14/2009 at 3:37 PM
Thanks for reporting this issue. This will get fixed in the next release of Visual Studio.

Data Programmability Tools Team
Posted by Microsoft on 5/15/2009 at 1:43 AM

(こちらは、Posted by Microsoft on 5/14/2009 at 3:37 PM の和訳です。)

問題をご報告いただき、ありがとうございます。 こちらに関しましては、Visual Studio の次期リリース版で修正される予定です。

データ プログラマビリティ ツール チーム