Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

error on building of Build the model project
simon5968
#1 Posted : Sunday, May 4, 2014 1:37:41 PM(UTC)


Hi

I am getting this error on building of Build the model project:

Error 1 Cannot convert string "" to xs:decimal C:\Program Files (x86)\Xomega.Net\4.4\Xsl\edm.xsl 111 2 MyProject5.Model

how do I srot this out please?

Installation:
Visual Studio Professional 2012 (x86) - DVD (English),
mysql-for-visualstudio-1.1.4
xomega
#2 Posted : Sunday, May 4, 2014 3:53:41 PM(UTC)
xomega



Hi Simon, thank you for your interest in our product. Could you please check your model project (.xomproj) to see if the EDM generator has the DbVersion parameters as follows?

<XomGenerator Include="$(XomegaHome11)Xsl\edm.xsl">
<Name>Entity Data Model</Name>
<Folder>Business Layer</Folder>
<OutputPath>../AdventureWorks.Entities/EntityModel.edmx</OutputPath>
<AddToProject-param>../AdventureWorks.Entities/AdventureWorks.Entities.csproj</AddToProject-param>
<AddToProject-desc>A project file to add the generated files to.</AddToProject-desc>
<AddToProject-category>Output</AddToProject-category>
<ConfigFile-param>../AdventureWorks.Client.Web/Web.config</ConfigFile-param>
<ConfigFile-desc>Configuration file to add entity connection string to based on the project's database connection.</ConfigFile-desc>
<ConfigFile-category>Output</ConfigFile-category>
<Database>$(Database)</Database>
<DbVersion>$(DbVersion)</DbVersion>
<DbCase>$(DbCase)</DbCase>
<DbConnection>$(DbConnection)</DbConnection>
<IncludeInBuild>false</IncludeInBuild>
<TargetFrameworkVersion>$(TargetFrameworkVersion)</TargetFrameworkVersion>
</XomGenerator>

If that line is not there, could you please add it and try again? Please feel free to contact us with any questions or issues either via our forum or via email.
simon5968
#3 Posted : Sunday, May 4, 2014 5:08:17 PM(UTC)


Yesy it has this is the part:
Quote:
<XomGenerator Include="$(XomegaHome11)Xsl\edm.xsl">
<Name>Entity Data Model</Name>
<Folder>Business Layer</Folder>
<OutputPath>../MyProject2.Entities/EntityModel.edmx</OutputPath>
<AddToProject-param>../MyProject2.Entities/MyProject2.Entities.csproj</AddToProject-param>
<AddToProject-desc>A project file to add the generated files to.</AddToProject-desc>
<AddToProject-category>Output</AddToProject-category>
<ConfigFile-param>../MyProject2.Entities/App.config</ConfigFile-param>
<ConfigFile-desc>Configuration file to add entity connection string to based on the project's database connection.</ConfigFile-desc>
<ConfigFile-category>Output</ConfigFile-category>
<Database>$(Database)</Database>
<DbVersion>$(DbVersion)</DbVersion>
<DbCase>$(DbCase)</DbCase>
<DbConnection>$(DbConnection)</DbConnection>
<IncludeInBuild>true</IncludeInBuild>
<TargetFrameworkVersion>$(TargetFrameworkVersion)</TargetFrameworkVersion>
</XomGenerator>


and this is the files:
Quote:
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="2.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ProjectGuid>
</ProjectGuid>
<Configuration Condition=" '$(Configuration)' == '' ">Model</Configuration>
<Database>sqlsrv</Database>
<DbVersion>
</DbVersion>
<DbConnection>
</DbConnection>
<DbExcludeTables>
</DbExcludeTables>
<DbCase>
</DbCase>
<DbTimeout>
</DbTimeout>
<Name>MyProject2.Model</Name>
<TargetFrameworkVersion>4.5</TargetFrameworkVersion>
<RootNamespace>MyProject2</RootNamespace>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
</PropertyGroup>
<ItemGroup>
<XomGenerator Include="$(XomegaHome11)Xsl\db_import.xsl">
<Name>Import from Database</Name>
<Folder>Model Enhancement</Folder>
<IncludeInBuild>false</IncludeInBuild>
<OutputPath>Import/{Module/}{File}.xom</OutputPath>
<AddOutputToProject>true</AddOutputToProject>
<Database>$(Database)</Database>
<DbVersion>$(DbVersion)</DbVersion>
<DbCase>$(DbCase)</DbCase>
<DbConnectionNeededFor>DbSchema</DbConnectionNeededFor>
<DbConnection>$(DbConnection)</DbConnection>
<DbTimeout>$(DbTimeout)</DbTimeout>
<DbExcludeTables>$(DbExcludeTables)</DbExcludeTables>
<KeepTableNames-param>True</KeepTableNames-param>
<KeepTableNames-type>System.Boolean</KeepTableNames-type>
<KeepTableNames-desc>Specify whether to preserve table names in generated objects.</KeepTableNames-desc>
<KeepColumnNames-param>True</KeepColumnNames-param>
<KeepColumnNames-type>System.Boolean</KeepColumnNames-type>
<KeepColumnNames-desc>Specify whether to preserve column names in generated objects.</KeepColumnNames-desc>
<KeepConstraintNames-param>False</KeepConstraintNames-param>
<KeepConstraintNames-type>System.Boolean</KeepConstraintNames-type>
<KeepConstraintNames-desc>Specify whether to preserve constraint names in generated objects.</KeepConstraintNames-desc>
</XomGenerator>
<XomGenerator Include="$(XomegaHome11)Xsl\db_schema.xsl">
<Name>Database Schema</Name>
<Folder>Database Layer</Folder>
<OutputPath>db_schema.sql</OutputPath>
<Database>$(Database)</Database>
<DbVersion>$(DbVersion)</DbVersion>
<DbCase>$(DbCase)</DbCase>
<IncludeInBuild>false</IncludeInBuild>
</XomGenerator>
<XomGenerator Include="$(XomegaHome11)Xsl\db_diff.xsl">
<Name>Database Change Script</Name>
<Folder>Database Layer</Folder>
<IncludeInBuild>false</IncludeInBuild>
<OutputPath>db_update.sql</OutputPath>
<Database>$(Database)</Database>
<DbVersion>$(DbVersion)</DbVersion>
<DbCase>$(DbCase)</DbCase>
<DbConnectionNeededFor>DbSchema</DbConnectionNeededFor>
<DbConnection>$(DbConnection)</DbConnection>
<DbTimeout>$(DbTimeout)</DbTimeout>
<DbExcludeTables>$(DbExcludeTables)</DbExcludeTables>
</XomGenerator>
<XomGenerator Include="$(XomegaHome11)Xsl\docs.xsl">
<Name>Domain Model Design</Name>
<Folder>Documentation</Folder>
<OutputPath>../Docs/DomainModelDesign.docx</OutputPath>
<IncludeInBuild>false</IncludeInBuild>
<DocumentTemplate-param>$(XomegaHome11)Templates\DomainModel.docx</DocumentTemplate-param>
<DocumentTemplate-category>Generator</DocumentTemplate-category>
<DocumentTemplate-desc>Path to the MS Word document that will be used as a template for the generated document.</DocumentTemplate-desc>
<Title-param>MyProject2 Domain Model</Title-param>
<Title-desc>Title to use for the generated document.</Title-desc>
<Subject-param>Technical design for the MyProject2 domain model</Subject-param>
<Subject-desc>Subject (subtitle) to use for the generated document.</Subject-desc>
<Creator-param>[User]</Creator-param>
<Creator-desc>Creator (author) of the generated document.</Creator-desc>
<Company-param>[Company]</Company-param>
<Company-desc>Company to use for the generated document.</Company-desc>
</XomGenerator>
<XomGenerator Include="$(XomegaHome11)Xsl\docs.xsl">
<Name>Service Model Design</Name>
<Folder>Documentation</Folder>
<OutputPath>../Docs/ServiceModelDesign.docx</OutputPath>
<IncludeInBuild>false</IncludeInBuild>
<DocumentTemplate-param>$(XomegaHome11)Templates\ServiceModel.docx</DocumentTemplate-param>
<DocumentTemplate-category>Generator</DocumentTemplate-category>
<DocumentTemplate-desc>Path to the MS Word document that will be used as a template for the generated document.</DocumentTemplate-desc>
<Title-param>MyProject2 Service Model</Title-param>
<Title-desc>Title to use for the generated document.</Title-desc>
<Subject-param>Technical design for the MyProject2 service model</Subject-param>
<Subject-desc>Subject (subtitle) to use for the generated document.</Subject-desc>
<Creator-param>[User]</Creator-param>
<Creator-desc>Creator (author) of the generated document.</Creator-desc>
<Company-param>[Company]</Company-param>
<Company-desc>Company to use for the generated document.</Company-desc>
</XomGenerator>
<XomGenerator Include="$(XomegaHome11)Xsl\docs.xsl">
<Name>Static Data Design</Name>
<Folder>Documentation</Folder>
<OutputPath>../Docs/StaticDataDesign.docx</OutputPath>
<IncludeInBuild>false</IncludeInBuild>
<DocumentTemplate-param>$(XomegaHome11)Templates\StaticData.docx</DocumentTemplate-param>
<DocumentTemplate-category>Generator</DocumentTemplate-category>
<DocumentTemplate-desc>Path to the MS Word document that will be used as a template for the generated document.</DocumentTemplate-desc>
<Title-param>MyProject2 Static Data Design</Title-param>
<Title-desc>Title to use for the generated document.</Title-desc>
<Subject-param>Technical design for the MyProject2 static data</Subject-param>
<Subject-desc>Subject (subtitle) to use for the generated document.</Subject-desc>
<Creator-param>[User]</Creator-param>
<Creator-desc>Creator (author) of the generated document.</Creator-desc>
<Company-param>[Company]</Company-param>
<Company-desc>Company to use for the generated document.</Company-desc>
</XomGenerator>
<XomGenerator Include="$(XomegaHome11)Xsl\edm.xsl">
<Name>Entity Data Model</Name>
<Folder>Business Layer</Folder>
<OutputPath>../MyProject2.Entities/EntityModel.edmx</OutputPath>
<AddToProject-param>../MyProject2.Entities/MyProject2.Entities.csproj</AddToProject-param>
<AddToProject-desc>A project file to add the generated files to.</AddToProject-desc>
<AddToProject-category>Output</AddToProject-category>
<ConfigFile-param>../MyProject2.Entities/App.config</ConfigFile-param>
<ConfigFile-desc>Configuration file to add entity connection string to based on the project's database connection.</ConfigFile-desc>
<ConfigFile-category>Output</ConfigFile-category>
<Database>$(Database)</Database>
<DbVersion>$(DbVersion)</DbVersion>
<DbCase>$(DbCase)</DbCase>
<DbConnection>$(DbConnection)</DbConnection>
<IncludeInBuild>true</IncludeInBuild>
<TargetFrameworkVersion>$(TargetFrameworkVersion)</TargetFrameworkVersion>
</XomGenerator>
<XomGenerator Include="$(XomegaHome11)Xsl\wcf_svcimpl.xsl">
<Name>Service Implementation</Name>
<Folder>Business Layer</Folder>
<OutputPath>../MyProject2.Entities/{Module/}Services/_{File}.cs</OutputPath>
<AddToProject-param>../MyProject2.Entities/MyProject2.Entities.csproj</AddToProject-param>
<AddToProject-desc>A project file to add the generated files to.</AddToProject-desc>
<AddToProject-category>Output</AddToProject-category>
<Database>$(Database)</Database>
<DbVersion>$(DbVersion)</DbVersion>
<IncludeInBuild>false</IncludeInBuild>
<IndividualFiles>true</IndividualFiles>
</XomGenerator>
<XomGenerator Include="$(XomegaHome11)Xsl\model_ops.xsl">
<Name>Model CRUD Operations</Name>
<Folder>Model Enhancement</Folder>
<OutputPath>operations.sql</OutputPath>
<IncludeInBuild>false</IncludeInBuild>
<IndividualFiles>true</IndividualFiles>
<GenerateOperators-param>True</GenerateOperators-param>
<GenerateOperators-type>System.Boolean</GenerateOperators-type>
<GenerateOperators-desc>Whether or not to generate operators for search criteria.</GenerateOperators-desc>
</XomGenerator>
<XomGenerator Include="$(XomegaHome11)Xsl\model_enums_db.xsl">
<Name>Enumerations from Database</Name>
<Folder>Model Enhancement</Folder>
<OutputPath>ImportedEnums/_{Module}_enums.xom</OutputPath>
<AddOutputToProject>true</AddOutputToProject>
<IncludeInBuild>false</IncludeInBuild>
<Database>$(Database)</Database>
<DbVersion>$(DbVersion)</DbVersion>
<DbCase>$(DbCase)</DbCase>
<DbConnection>$(DbConnection)</DbConnection>
<DbTimeout>$(DbTimeout)</DbTimeout>
</XomGenerator>
<XomGenerator Include="$(XomegaHome11)Xsl\wcf_services.xsl">
<Name>WCF Service Contracts</Name>
<Folder>Service Layer</Folder>
<OutputPath>../MyProject2.Services/{Module/}_{File}.cs</OutputPath>
<AddToProject-param>../MyProject2.Services/MyProject2.Services.csproj</AddToProject-param>
<AddToProject-desc>A project file to add the generated files to.</AddToProject-desc>
<AddToProject-category>Output</AddToProject-category>
<IncludeInBuild>true</IncludeInBuild>
<IndividualFiles>true</IndividualFiles>
</XomGenerator>
<XomGenerator Include="$(XomegaHome11)Xsl\wcf_config.xsl">
<Name>WCF Server Configuration</Name>
<Folder>Service Layer</Folder>
<OutputPath>../MyProject2.Entities/App.config</OutputPath>
<EndpointBehavior-param>
</EndpointBehavior-param>
<EndpointBehavior-desc>Endpoint behavior to set for all service endpoints.</EndpointBehavior-desc>
<IsClient-param>False</IsClient-param>
<IsClient-desc>Specify whether it is a client or a server configuration.</IsClient-desc>
<IsClient-type>System.Boolean</IsClient-type>
<ServiceBehavior-param>Debug</ServiceBehavior-param>
<ServiceBehavior-desc>Service behavior to set for all services.</ServiceBehavior-desc>
<IncludeInBuild>true</IncludeInBuild>
</XomGenerator>
<XomGenerator Include="$(XomegaHome11)Xsl\wcf_iis_svchost.xsl">
<Name>IIS Service Host Files</Name>
<Folder>Service Layer</Folder>
<IncludeInBuild>false</IncludeInBuild>
<OutputPath>
</OutputPath>
<AddToProject-param>
</AddToProject-param>
<AddToProject-desc>A project file to add the generated files to.</AddToProject-desc>
<AddToProject-category>Output</AddToProject-category>
</XomGenerator>
<XomGenerator Include="$(XomegaHome11)Xsl\wcf_config.xsl">
<Name>WCF Client Configuration</Name>
<Folder>Service Layer</Folder>
<OutputPath>../MyProject2.Client.WPF/App.config</OutputPath>
<IsClient-param>True</IsClient-param>
<IsClient-desc>Specify whether it is a client or a server configuration.</IsClient-desc>
<IsClient-type>System.Boolean</IsClient-type>
<IncludeInBuild>true</IncludeInBuild>
</XomGenerator>
<XomGenerator Include="$(XomegaHome11)Xsl\data_objects.xsl">
<Name>Xomega Data Objects</Name>
<Folder>Presentation Layer</Folder>
<OutputPath>../MyProject2.Client.Objects/{Module/}_DO{File}.cs</OutputPath>
<AddToProject-param>../MyProject2.Client.Objects/MyProject2.Client.Objects.csproj</AddToProject-param>
<AddToProject-desc>A project file to add the generated files to.</AddToProject-desc>
<AddToProject-category>Output</AddToProject-category>
<LinkIntoProject-param>
</LinkIntoProject-param>
<LinkIntoProject-desc>A project file to add links to the generated files to.</LinkIntoProject-desc>
<LinkIntoProject-category>Output</LinkIntoProject-category>
<LinkPath-param>DataObjects</LinkPath-param>
<LinkPath-desc>A path indicating where to insert the linked file in the project specified by the LinkIntoProject parameter.</LinkPath-desc>
<LinkPath-category>Output</LinkPath-category>
<IncludeInBuild>true</IncludeInBuild>
<IndividualFiles>true</IndividualFiles>
</XomGenerator>
<XomGenerator Include="$(XomegaHome11)Xsl\wpf_search.xsl">
<Name>WPF Search Form</Name>
<Folder>Presentation Layer\WPF</Folder>
<OutputPath>../MyProject2.Client.WPF/Gen/_{File}.xaml</OutputPath>
<FormNamespace-param>MyProject2.Client.WPF</FormNamespace-param>
<FormNamespace-desc>Namespace for the generated form.</FormNamespace-desc>
<FormNamespace-category>Form</FormNamespace-category>
<FormName-param>
</FormName-param>
<FormName-desc>Name of the generated form. May contain spaces.</FormName-desc>
<FormName-category>Form</FormName-category>
<ListRowObject-param>
</ListRowObject-param>
<ListRowObject-desc>Xomega data object for the rows in the results grid.</ListRowObject-desc>
<ListRowObject-category>Data Object</ListRowObject-category>
<IncludeInBuild>false</IncludeInBuild>
<IndividualFiles>true</IndividualFiles>
</XomGenerator>
<XomGenerator Include="$(XomegaHome11)Xsl\wpf_details.xsl">
<Name>WPF Details Form</Name>
<Folder>Presentation Layer\WPF</Folder>
<OutputPath>../MyProject2.Client.WPF/Gen/_{File}.xaml</OutputPath>
<FormNamespace-param>MyProject2.Client.WPF</FormNamespace-param>
<FormNamespace-desc>Namespace for the generated form.</FormNamespace-desc>
<FormNamespace-category>Form</FormNamespace-category>
<FormName-param>
</FormName-param>
<FormName-desc>Name of the generated form. May contain spaces.</FormName-desc>
<FormName-category>Form</FormName-category>
<DetailsObject-param>
</DetailsObject-param>
<DetailsObject-desc>Xomega data object for the form's data model.</DetailsObject-desc>
<DetailsObject-category>Data Object</DetailsObject-category>
<IncludeInBuild>false</IncludeInBuild>
<IndividualFiles>true</IndividualFiles>
</XomGenerator>
<XomGenerator Include="$(XomegaHome11)Xsl\silverlight_search.xsl">
<Name>Silverlight Search Page</Name>
<Folder>Presentation Layer\Silverlight</Folder>
<OutputPath>../MyProject2.Client.Silverlight/Gen/_{File}.xaml</OutputPath>
<PageNamespace-param>MyProject2.Client.Silverlight</PageNamespace-param>
<PageNamespace-desc>Namespace for the generated page.</PageNamespace-desc>
<PageNamespace-category>Page</PageNamespace-category>
<PageName-param>
</PageName-param>
<PageName-desc>Name of the generated page. May contain spaces.</PageName-desc>
<PageName-category>Page</PageName-category>
<ListRowObject-param>
</ListRowObject-param>
<ListRowObject-desc>Xomega data object for the rows in the results grid.</ListRowObject-desc>
<ListRowObject-category>Data Object</ListRowObject-category>
<IncludeInBuild>false</IncludeInBuild>
<IndividualFiles>true</IndividualFiles>
</XomGenerator>
<XomGenerator Include="$(XomegaHome11)Xsl\silverlight_details.xsl">
<Name>Silverlight Details Page</Name>
<Folder>Presentation Layer\Silverlight</Folder>
<OutputPath>../MyProject2.Client.Silverlight/Gen/_{File}.xaml</OutputPath>
<PageNamespace-param>MyProject2.Client.Silverlight</PageNamespace-param>
<PageNamespace-desc>Namespace for the generated page.</PageNamespace-desc>
<PageNamespace-category>Page</PageNamespace-category>
<PageName-param>
</PageName-param>
<PageName-desc>Name of the generated page. May contain spaces.</PageName-desc>
<PageName-category>Page</PageName-category>
<DetailsObject-param>
</DetailsObject-param>
<DetailsObject-desc>Xomega data object for the page's data model.</DetailsObject-desc>
<DetailsObject-category>Data Object</DetailsObject-category>
<IncludeInBuild>false</IncludeInBuild>
<IndividualFiles>true</IndividualFiles>
</XomGenerator>
<XomGenerator Include="$(XomegaHome11)Xsl\aspnet_search.xsl">
<Name>ASP.NET Search Form</Name>
<Folder>Presentation Layer\ASP.NET</Folder>
<OutputPath>../MyProject2.Client.Web/Gen/_{File}.aspx</OutputPath>
<PageNamespace-param>MyProject2.Client.Web</PageNamespace-param>
<PageNamespace-desc>Namespace for the generated page.</PageNamespace-desc>
<PageNamespace-category>Page</PageNamespace-category>
<PageName-param>
</PageName-param>
<PageName-desc>Name of the generated page. May contain spaces.</PageName-desc>
<PageName-category>Page</PageName-category>
<ListRowObject-param>
</ListRowObject-param>
<ListRowObject-desc>Xomega data object for the rows in the results grid.</ListRowObject-desc>
<ListRowObject-category>Data Object</ListRowObject-category>
<IncludeInBuild>false</IncludeInBuild>
<IndividualFiles>true</IndividualFiles>
</XomGenerator>
<XomGenerator Include="$(XomegaHome11)Xsl\aspnet_details.xsl">
<Name>ASP.NET Details Form</Name>
<Folder>Presentation Layer\ASP.NET</Folder>
<OutputPath>../MyProject2.Client.Web/Gen/_{File}.aspx</OutputPath>
<PageNamespace-param>MyProject2.Client.Web</PageNamespace-param>
<PageNamespace-desc>Namespace for the generated page.</PageNamespace-desc>
<PageNamespace-category>Page</PageNamespace-category>
<PageName-param>
</PageName-param>
<PageName-desc>Name of the generated page. May contain spaces.</PageName-desc>
<PageName-category>Page</PageName-category>
<DetailsObject-param>
</DetailsObject-param>
<DetailsObject-desc>Xomega data object for the page's data model.</DetailsObject-desc>
<DetailsObject-category>Data Object</DetailsObject-category>
<IncludeInBuild>false</IncludeInBuild>
<IndividualFiles>true</IndividualFiles>
</XomGenerator>
<XomGenerator Include="$(XomegaHome11)Xsl\enum_cache.xsl">
<Name>DB Lookup Cache Loaders</Name>
<Folder>Static Data</Folder>
<OutputPath>../MyProject2.Services/CacheLoaders/_{File}.cs</OutputPath>
<AddToProject-param>../MyProject2.Services/MyProject2.Services.csproj</AddToProject-param>
<AddToProject-desc>A project file to add the generated files to.</AddToProject-desc>
<AddToProject-category>Output</AddToProject-category>
<LinkIntoProject-param>
</LinkIntoProject-param>
<LinkIntoProject-desc>A project file to add links to the generated files to.</LinkIntoProject-desc>
<LinkIntoProject-category>Output</LinkIntoProject-category>
<LinkPath-param>CacheLoaders</LinkPath-param>
<LinkPath-desc>A path indicating where to insert the linked file in the project specified by the LinkIntoProject parameter.</LinkPath-desc>
<LinkPath-category>Output</LinkPath-category>
<IncludeInBuild>true</IncludeInBuild>
<IndividualFiles>true</IndividualFiles>
</XomGenerator>
<XomGenerator Include="$(XomegaHome11)Xsl\enum_xml.xsl">
<Name>Enumeration Data XML</Name>
<Folder>Static Data</Folder>
<OutputPath>../MyProject2.Services/enumerations.xml</OutputPath>
<AddToProject-param>../MyProject2.Services/MyProject2.Services.csproj</AddToProject-param>
<AddToProject-desc>A project file to add the generated files to.</AddToProject-desc>
<AddToProject-category>Output</AddToProject-category>
<LinkIntoProject-param>
</LinkIntoProject-param>
<LinkIntoProject-desc>A project file to add links to the generated files to.</LinkIntoProject-desc>
<LinkIntoProject-category>Output</LinkIntoProject-category>
<LinkPath-param>
</LinkPath-param>
<LinkPath-desc>A path indicating where to insert the linked file in the project specified by the LinkIntoProject parameter.</LinkPath-desc>
<LinkPath-category>Output</LinkPath-category>
<IncludeInBuild>true</IncludeInBuild>
</XomGenerator>
<XomGenerator Include="$(XomegaHome11)Xsl\enum_sql.xsl">
<Name>Enumeration Reload SQL</Name>
<Folder>Static Data</Folder>
<DbCase>$(DbCase)</DbCase>
<OutputPath>reload_enumerations.sql</OutputPath>
<IncludeInBuild>true</IncludeInBuild>
</XomGenerator>
<XomGenerator Include="$(XomegaHome11)Xsl\enum_const.xsl">
<Name>Enumeration Constants</Name>
<Folder>Static Data</Folder>
<OutputPath>../MyProject2.Services/Enumerations.cs</OutputPath>
<AddToProject-param>../MyProject2.Services/MyProject2.Services.csproj</AddToProject-param>
<AddToProject-desc>A project file to add the generated files to.</AddToProject-desc>
<AddToProject-category>Output</AddToProject-category>
<LinkIntoProject-param>
</LinkIntoProject-param>
<LinkIntoProject-desc>A project file to add links to the generated files to.</LinkIntoProject-desc>
<LinkIntoProject-category>Output</LinkIntoProject-category>
<LinkPath-param>
</LinkPath-param>
<LinkPath-desc>A path indicating where to insert the linked file in the project specified by the LinkIntoProject parameter.</LinkPath-desc>
<LinkPath-category>Output</LinkPath-category>
<IncludeInBuild>true</IncludeInBuild>
</XomGenerator>
</ItemGroup>
<ItemGroup>
<XomFile Include="Framework\base_types.xom" />
<XomFile Include="Framework\operators.xom" />
<XomFile Include="global_config.xom" />
</ItemGroup>
<Import Project="$(XomegaHome11)Xomega.targets" />
</Project>
xomega
#4 Posted : Sunday, May 4, 2014 5:31:49 PM(UTC)
xomega



Great, thanks for the feedback. I can see that you tried to build the model without having set the database connection, which made the DbVersion to be blank.

We will fix this issue in the next release, but as a workaround, could you please select the Model project node, hit F4 to view properties and specify the Database Connection to your SQL Server DB, which will populate the DbVersion. Or, you can just manually enter the Database Version there (e.g. 9 for SQL Server 2005).

Please let us know if this works for you.
simon5968
#5 Posted : Monday, May 5, 2014 3:40:40 AM(UTC)


Hi

The database I have is a MySQL can I not use that?
If I can How do I set it up?

If not do you know of a like product (I like opensouce projects) that I can use MySQL with?

Simon
xomega
#6 Posted : Monday, May 5, 2014 4:34:50 AM(UTC)
xomega



So far, the only database that is officially supported is SQL Server, but you may still use Xomega with other databases with some database related features being not fully functional. Here is a list of problems I foresee and ways to work around them.

1. Import from Database generator will most likely not work. You can obviously always define the model manually from scratch, but this could be pretty tedious. You can also try to import your database into a SQL server database for the sake of importing it into the model and then switch back to MySQL.

2. Once you have the model imported (or manually defined), you should be able to generate the Entity Data Model, which may work with MySQL out of the box. If it doesn't, then you can always import the EDM directly from MySQL using Visual Studio.

3. Generation of the script to update a database based on the model changes will likely not work. You would have to either manually track the changes to the database, or use the standard Microsoft migrations mechanism.

4. All other generators for the UI forms, view models (Xomega data objects), services, etc. should be fully functional and can help you quickly develop high quality multi-tier applications.

We're not aware of any other similar (open source) projects for MySQL, but Xomega is based on a unique and innovative technology, which you will unlikely to find in other products. If you decide to give Xomega a try, please don't hesitate to contact us with any questions or issues.
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Copyright © 2009-2022 Xomega.Net. All rights reserved.