strange behaviour on visual studio 2010 SP1 on win7 64 bit

May 10, 2011 at 8:21 PM

Hello,

I've installed Rapid Entity on visual studio 2010 SP1 on win7 64 bit. And I followed instructions given on documentation section. When I open the rapid.rpd file in the VS 2010 I don't see a designer page. I just see the content of an XML file given below.

Where do I go wrong? Any idea? Thank you.

<?xml version="1.0" encoding="utf-8"?><modelRoot xmlns:dm0="http://schemas.microsoft.com/VisualStudio/2008/DslTools/Core" dslVersion="1.0.0.0" name="" xmlns="http://schemas.microsoft.com/dsltools/RapidEntity">  <types>    <modelClass name="Address" tableName="Address">      <fields>        <field name="Address" type="System.String" columnName="Address" allowNull="true" precision="255" scale="255" />        <field name="PostCode" type="System.String" columnName="PostCode" allowNull="true" precision="255" scale="255" />        <field name="County" type="System.String" columnName="County" allowNull="true" precision="255" scale="255" />      </fields>      <oneToManyTargets>        <oneToMany Id="2a0de139-6c27-4442-a641-005477699d06" sourceMultiplicity="ZeroMany" targetMultiplicity="ZeroMany" referenceColumn="AddressId" referenceEntity="MasterUser" ownerEntity="Address" referencedKey="AddressId" type="System.Int64" relationColumn="AddressId">          <modelClassMoniker name="//MasterUser" />        </oneToMany>        <oneToMany Id="9cb4c7ce-f326-4d58-8055-9f1d700e86e7" sourceMultiplicity="ZeroMany" targetMultiplicity="ZeroMany" referenceColumn="AddressId" referenceEntity="Performance" ownerEntity="Address" referencedKey="AddressId" type="System.Int64" relationColumn="AddressId">          <modelClassMoniker name="//Performance" />        </oneToMany>      </oneToManyTargets>      <persistentKeys>        <persistentKey name="AddressId" type="System.Int64" columnName="AddressId" allowNull="false" precision="19" scale="255" isAutoKey="true" />      </persistentKeys>    </modelClass>    <modelClass name="Country" tableName="Country">      <fields>        <field name="CountryName" type="System.String" columnName="CountryName" allowNull="true" precision="255" scale="255" />      </fields>      <oneToManyTargets>        <oneToMany Id="1eaa0a35-9324-45e3-9da2-a880bee1b3f9" sourceMultiplicity="ZeroMany" targetMultiplicity="ZeroMany" referenceColumn="CountryCode" referenceEntity="Address" ownerEntity="Country" referencedKey="CountryCode" type="System.String" relationColumn="CountryCode">          <modelClassMoniker name="//Address" />        </oneToMany>      </oneToManyTargets>      <persistentKeys>        <persistentKey name="CountryCode" type="System.String" columnName="CountryCode" allowNull="false" precision="255" scale="255" isAutoKey="false" />      </persistentKeys>    </modelClass>    <modelClass name="DiscJockey" tableName="DiscJockey">      <fields>        <field name="StageName" type="System.String" columnName="StageName" allowNull="true" precision="255" scale="255" />        <field name="telephone" type="System.String" columnName="telephone" allowNull="true" precision="255" scale="255" />        <field name="mobile" type="System.String" columnName="mobile" allowNull="true" precision="255" scale="255" />        <field name="biodata" type="System.String" columnName="biodata" allowNull="true" precision="255" scale="255" />        <field name="website" type="System.String" columnName="website" allowNull="true" precision="255" scale="255" />        <field name="StandardPrice" type="System.Decimal" columnName="StandardPrice" allowNull="true" precision="19" scale="255" />      </fields>      <oneToManyTargets>        <oneToMany Id="5287966c-15ba-483b-be5e-a0bb9ecd2cb4" sourceMultiplicity="ZeroMany" targetMultiplicity="ZeroMany" referenceColumn="DJId" referenceEntity="DJBookings" ownerEntity="DiscJockey" referencedKey="DJId" type="System.Int64" relationColumn="DJId">          <modelClassMoniker name="//DJBookings" />        </oneToMany>        <oneToMany Id="7364edc9-9ce5-4f26-8bba-7499960f10da" sourceMultiplicity="ZeroMany" targetMultiplicity="ZeroMany" referenceColumn="DJId" referenceEntity="Performance" ownerEntity="DiscJockey" referencedKey="DJId" type="System.Int64" relationColumn="DJId">          <modelClassMoniker name="//Performance" />        </oneToMany>        <oneToMany Id="bd5e48fb-17a5-445f-9a41-7d337590715a" sourceMultiplicity="ZeroMany" targetMultiplicity="ZeroMany" referenceColumn="DJId" referenceEntity="RecordLabel" ownerEntity="DiscJockey" referencedKey="DJId" type="System.Int64" relationColumn="DJId">          <modelClassMoniker name="//RecordLabel" />        </oneToMany>      </oneToManyTargets>      <persistentKeys>        <persistentKey name="DJId" type="System.Int64" columnName="DJId" allowNull="false" precision="19" scale="255" isAutoKey="true" />      </persistentKeys>    </modelClass>    <modelClass name="DJBookings" tableName="DJBookings">      <fields>        <field name="EventDate" type="System.DateTime" columnName="EventDate" allowNull="true" precision="23" scale="3" />        <field name="Description" type="System.String" columnName="Description" allowNull="true" precision="255" scale="255" />        <field name="BookingState" type="System.Boolean" columnName="BookingState" allowNull="true" precision="255" scale="255" />        <field name="AlternativeDate" type="System.DateTime" columnName="AlternativeDate" allowNull="true" precision="23" scale="3" />        <field name="AdditionalInfo" type="System.String" columnName="AdditionalInfo" allowNull="true" precision="255" scale="255" />        <field name="BookingType" type="System.String" columnName="BookingType" allowNull="true" precision="255" scale="255" />        <field name="BookingOwnerId" type="System.Int64" columnName="BookingOwnerId" allowNull="true" precision="19" scale="255" />        <field name="BookingDate" type="System.DateTime" columnName="BookingDate" allowNull="true" precision="23" scale="3" />      </fields>      <persistentKeys>        <persistentKey name="BookingsId" type="System.Int64" columnName="BookingsId" allowNull="false" precision="19" scale="255" isAutoKey="true" />      </persistentKeys>    </modelClass>    <modelClass name="Genre" tableName="Genre">      <fields>        <field name="Name" type="System.String" columnName="Name" allowNull="true" precision="255" scale="255" />      </fields>      <oneToManyTargets>        <oneToMany Id="850e85cc-334a-4b08-9ccf-0e03073abeea" sourceMultiplicity="ZeroMany" targetMultiplicity="ZeroMany" referenceColumn="GenreId" referenceEntity="DiscJockey" ownerEntity="Genre" referencedKey="GenreId" type="System.Int64" relationColumn="GenreId">          <modelClassMoniker name="//DiscJockey" />        </oneToMany>      </oneToManyTargets>      <persistentKeys>        <persistentKey name="GenreId" type="System.Int64" columnName="GenreId" allowNull="false" precision="19" scale="255" isAutoKey="true" />      </persistentKeys>    </modelClass>    <modelClass name="MasterUser" tableName="MasterUser">      <fields>        <field name="DateOfBirth" type="System.DateTime" columnName="DateOfBirth" allowNull="true" precision="23" scale="3" />        <field name="FirstName" type="System.String" columnName="FirstName" allowNull="true" precision="255" scale="255" />        <field name="LastName" type="System.String" columnName="LastName" allowNull="true" precision="255" scale="255" />        <field name="MiddleName" type="System.String" columnName="MiddleName" allowNull="true" precision="255" scale="255" />        <field name="Gender" type="System.String" columnName="Gender" allowNull="true" precision="255" scale="255" />        <field name="Password" type="System.String" columnName="Password" allowNull="true" precision="255" scale="255" />        <field name="Email" type="System.String" columnName="Email" allowNull="true" precision="255" scale="255" />      </fields>      <oneToManyTargets>        <oneToMany Id="a4d8c064-0ebc-45cc-92b8-a1925c3755fc" sourceMultiplicity="ZeroMany" targetMultiplicity="ZeroMany" referenceColumn="UserId" referenceEntity="DiscJockey" ownerEntity="MasterUser" referencedKey="UserId" type="System.Int64" relationColumn="UserId">          <modelClassMoniker name="//DiscJockey" />        </oneToMany>      </oneToManyTargets>      <persistentKeys>        <persistentKey name="UserId" type="System.Int64" columnName="UserId" allowNull="false" precision="19" scale="255" isAutoKey="true" />      </persistentKeys>    </modelClass>    <modelClass name="Performance" tableName="Performance">      <fields>        <field name="AdditionalMessage" type="System.String" columnName="AdditionalMessage" allowNull="true" precision="255" scale="255" />        <field name="PerformanceDate" type="System.DateTime" columnName="PerformanceDate" allowNull="true" precision="23" scale="3" />      </fields>      <persistentKeys>        <persistentKey name="PerformanceId" type="System.Int64" columnName="PerformanceId" allowNull="false" precision="19" scale="255" isAutoKey="true" />      </persistentKeys>    </modelClass>    <modelClass name="Photo" tableName="Photo">      <fields>        <field name="DateCreated" type="System.DateTime" columnName="DateCreated" allowNull="true" precision="23" scale="3" />        <field name="Photo" type="System.Byte[]" columnName="Photo" allowNull="true" precision="255" scale="255" />        <field name="Description" type="System.String" columnName="Description" allowNull="true" precision="255" scale="255" />      </fields>      <persistentKeys>        <persistentKey name="PhotoId" type="System.Int64" columnName="PhotoId" allowNull="false" precision="19" scale="255" isAutoKey="true" />      </persistentKeys>    </modelClass>    <modelClass name="PhotoGroup" tableName="PhotoGroup">      <fields>        <field name="DateCreated" type="System.DateTime" columnName="DateCreated" allowNull="true" precision="23" scale="3" />        <field name="GroupDescription" type="System.String" columnName="GroupDescription" allowNull="true" precision="255" scale="255" />      </fields>      <oneToManyTargets>        <oneToMany Id="ba840b0e-74ab-4374-8f14-99ce7c898fe4" sourceMultiplicity="ZeroMany" targetMultiplicity="ZeroMany" referenceColumn="PhotoGroupId" referenceEntity="DiscJockey" ownerEntity="PhotoGroup" referencedKey="PhotoGroupId" type="System.Int64" relationColumn="PhotoGroupId">          <modelClassMoniker name="//DiscJockey" />        </oneToMany>        <oneToMany Id="380191db-ba6b-43a5-b2d2-ae6fce67e9f3" sourceMultiplicity="ZeroMany" targetMultiplicity="ZeroMany" referenceColumn="PhotoGroupId" referenceEntity="Performance" ownerEntity="PhotoGroup" referencedKey="PhotoGroupId" type="System.Int64" relationColumn="PhotoGroupId">          <modelClassMoniker name="//Performance" />        </oneToMany>        <oneToMany Id="a3f7906e-bcd0-47a1-a52f-a7f7bf6ad254" sourceMultiplicity="ZeroMany" targetMultiplicity="ZeroMany" referenceColumn="PhotoGroupId" referenceEntity="Photo" ownerEntity="PhotoGroup" referencedKey="PhotoGroupId" type="System.Int64" relationColumn="PhotoGroupId">          <modelClassMoniker name="//Photo" />        </oneToMany>      </oneToManyTargets>      <persistentKeys>        <persistentKey name="PhotoGroupId" type="System.Int64" columnName="PhotoGroupId" allowNull="false" precision="19" scale="255" isAutoKey="true" />      </persistentKeys>    </modelClass>    <modelClass name="RecordLabel" tableName="RecordLabel">      <fields>        <field name="Name" type="System.String" columnName="Name" allowNull="true" precision="255" scale="255" />        <field name="itunes" type="System.String" columnName="itunes" allowNull="true" precision="255" scale="255" />        <field name="website" type="System.String" columnName="website" allowNull="true" precision="255" scale="255" />      </fields>      <persistentKeys>        <persistentKey name="LabelId" type="System.Int64" columnName="LabelId" allowNull="false" precision="19" scale="255" isAutoKey="true" />      </persistentKeys>    </modelClass>  </types></modelRoot>

May 10, 2011 at 11:38 PM

Hi,

   i am aware of this issue in VS2010,  which can be fixed by following these steps.

  1. right click on the rapid.rpd file and click on open with
  2. Choose RapidEntity (This should be in the list, since you installed already)
  3. You can set it as default as well

we are looking into this in our next release, thanks.

May 11, 2011 at 7:02 AM

Yes.  I think it is ok right now. Thank you.

May 11, 2011 at 3:10 PM

Hello,

Rapid Entity looks great! What about UI generator? Do you have a release date? Thank you.

Inanc

May 11, 2011 at 8:25 PM
Edited May 11, 2011 at 8:26 PM

The next release is due for end of this month. Currently we do not support UI generation. But it is in our must haves to support the following code generation:

 

  • Asp.net MVC generator
  • Asp.net generator
  • Winforms generator
  • Silverlight with RIA service generator
  • WCF generator

 

And so on. we will therefore incrementally add this features as we proceed with support for this framework. Thank you