Questions tagged [mdriven]
MDriven is a modeling tool which also allows simulation and execution. MDriven removes the need for a lot of the traditional coding/testing needed when producing information systems by raising the level of abstraction.
118
questions
0
votes
0
answers
24
views
Model Prototyper Opens Off Screen [closed]
System Prototyper opens off screen.
With great difficulty it can be-relocated by using Shift Right click on the task bar icon.
However, when reopened its opens almost full screen size and each time it ...
0
votes
1
answer
22
views
Method 'Eco.Handles.ColumnCollection.AddRange' not found
We have programmed some custom Windows Forms components that use an editor from Eco.Handles.Design.dll to be able to reference a handle (ExpressionHandle or ReferenceHandle) or to be able to enter an ...
0
votes
0
answers
25
views
MDriven | Give DLL dependency list with new framework updates
For future releases of the MDriven Framework would it be possible to provide a list of dependencies? Similar to what we have in the Nuget package manager?
The problem is that after every MDriven ...
0
votes
1
answer
15
views
MDriven: Method not found: Eco.Persistence.SyncVersion
We have a legacy solution that started at ECO times 10+ years ago. It contains one model project and one ecospace project, and also one WinForms project and one ASP.NET project.
We now need to make a ...
0
votes
1
answer
22
views
Subscribing to Object value or associated change
Is there some doco on IAutoSubscriptionService.
How do I use using (ESP.GetEcoService().StartSubscribe(subscriber)) to trigger an event when an object changes. That is for any attribute of an ...
1
vote
2
answers
87
views
Fastest way to learn MDriven?
What would be the easiest & fastest way to learn without experience with code and information systems?
In general, there are many subject-specific words in MDriven, which makes it quite a lot ...
0
votes
1
answer
32
views
Valid state in State Machines MDriven
What defines a valid value for different states in a State Machine in MDriven?
I am doing a simple, or not so simple information system on a warehouse database (imo). I want my system to be able to ...
1
vote
1
answer
28
views
Is there a way to add user defined data to a viewmodel at design time?
What is the best way to add user defined data to a ViewModel at design time?
At runtime I want to display a subset of ViewModels for a class that don't require a root element. To do this at the ...
0
votes
1
answer
43
views
Unable to validate model - ecoSpace is null
I have a problem when trying to validate the model
Model Validation| Value cannot be null.
Parameter name: ecoSpace
| System.ArgumentNullException: Value cannot be null.
| Parameter name: ecoSpace
...
0
votes
1
answer
27
views
MDriven | Error on UpdateDatabase, stack trace error below
Please note the below stack trace error we receive at times while updating the database.
Server stack trace:
at System.ServiceModel.Channels.ServiceChannel.ThrowIfFaultUnderstood(Message reply, ...
1
vote
1
answer
24
views
Suggestion for Validate Model Error Message
What I see
Info:
Model errors:
MVH201 Derivation expression specified for non-derived attribute (Issue.Job) [Issue.Job]
I'm wondering if this was intended to be
MVH201 Derivation expression specified ...
0
votes
2
answers
43
views
How to see "non - eco" inserted objects
We are still using ECO5 with VS 2008. A "non eco" application uses the same database as our eco-application does and inserts data. The inserted data (objects) cannot be seen in our eco - ...
1
vote
2
answers
45
views
How to enhance length of Property of an attribute of class in eco Model designer
Iam using mdriven build 7.0.0.11347 for DDD project and have model designed in .ecomdl file.
In this file i have a class Job with WorkDone as one of a property. Backedup SQL table has WorkDone varchar(...
0
votes
0
answers
48
views
MDriven framework local installation on VS 2022 not working
MDrivenFramework_7.0.0.13867_Nightly_vs2022 and all previous installers did not work.
Error message when trying to run VS 2022 post installing VSIX
0
votes
2
answers
27
views
1:n Derived Settable Association
There is an example of n:1 derived settable association in MDriven Wiki: https://wiki.mdriven.net/index.php/Derived_settable_associations
I'm trying to implement for a multi link Collection(Person) - ...
0
votes
1
answer
49
views
How to programmatically acess an Action from code (WPF)?
It is reletively clear for me how to access Actions in a prototype. But how can I do it in code?
E.g. I would like to execute a Class Action from within a Button. I defined an Action ShowPerson in a ...
0
votes
1
answer
23
views
Why do I get different data over Local Server?
I use now persistenceMapperWEBAPIClient1 as PersistentMapper with default Uri http://localhost:5000/api/A0_WebApi and default User: a/Password: 123456
While prototyping on Local Server I have saved ...
0
votes
1
answer
24
views
Using PersistenceMapperWEBAPIClient
If I change to PersistenceMapperWEBAPIClient:
this.PersistenceMapper = this.persistenceMapperWEBAPIClient1;
I get error message on start:
System.IO.FileNotFoundException: "The file or assembly &...
1
vote
2
answers
47
views
How to test REST-Services
can I use Local Turnkey Prototyper to test exposing REST-Services?
Or locally installed Turnkey with MDrivenServer?
I have tried it but with no success
Efim
1
vote
1
answer
24
views
Prototyping does not work with local Turnkey
Please see the model in attachment.
I started prototyping with it. It does work with XML-Persistance, SQL and MDriven-Server, but not with local Turnkey.
Repro: Start Prototyping -> Seekers -> ...
1
vote
1
answer
74
views
How to data bind simple ViewModel to WPF Datagrid?
that's perhaps an absolute newbye question.
I try to bind a simple Viewmodel Person.allinstances with Firstname: string, Lastname: string to WPF DataGrid.
ViewModel:
enter image description here
XAML:
...
0
votes
3
answers
42
views
How to use MDriven OclPs to find all objects matching a list of strings?
In an application I receive a list of strings. Then I want to use OclPs to find all objects where a specific attribute equals any of the strings in the list. E.g. if we have Person objects and receive ...
1
vote
1
answer
76
views
MDriven ECO_ID duplicates
We appear to have a problem with MDriven generating the same ECO_ID for multiple objects. For the most part it seems to happen in conjunction with unexpected process shutdowns and/or server shutdowns, ...
1
vote
1
answer
38
views
PSQuery Performance
I have following model:
A
1
|
*
B
^ ^
| |
B1 B2
where B is an abstract superclass of B1 and B2. I now have a PSQuery like:
var data = es.PSQuery<A>().Where(..).SelectMany(x => ...
1
vote
1
answer
64
views
AppCompleteGenericCore > 1Gb of memory
The monitoring of the Local MDrivenServer (cmd: AppCompleteGenericCore.exe -port=5050 -nohttps) shows that the process eats memory up to 1.2Gb regardless of the Model's size.
If I upload the simplest ...
2
votes
1
answer
52
views
Derived attribute with AsTajson call in the custom service
I use .net5 and .netStandard from nuget. The structure of the solution is simple - class library with ecomodel and webapi project.
I've registers custom service in the EcoSpace1.cs as it was advised ...
0
votes
2
answers
61
views
ESType error when ModelDrivenControllerBase is using to call MDrivenEcoSpaceAndModelForNetStandard
a code MyController:ModelDrivenControllerBase<EcoProject1EcoSpace> in the mvc or webapi netcore project shows a error "the type 'MDrivenTemplateProj.EcoProject1EcoSpace' cannot be used as ...
0
votes
1
answer
32
views
Constraints - Constrained Target
I have some DroopyEyes code that expects ConstrainedTargetName to be not null.
However the constraint I have a problem with deals with a relation and not an attribute.The ContrainedTarget dropdown ...
1
vote
1
answer
29
views
MSSQL InvalidCastException - Problem with Attribute of type text - Unable to cast to Micosoft.Data.SqlClient.SqlParamater
Installed latest MDriven version and made some other changes and now I MDriven is unable to save text attribute to MS SQL Server. See below for error message. Demo project has Class1.Attribute1 is ...
0
votes
1
answer
36
views
Problem in accessing Derived attributes of model class in Multi database tenant web application
I have 2 application web and desktop. both share Persistence layer. In Persistence layer we have one object of Ecospace shared by web and desktop app. Web is using Angular JS over MVC4 and desktop is ...
0
votes
1
answer
121
views
Error opening MDriven EcoSpace or PMP component designers in Visual Studio .NET Standard project
I created a new .netstandard2.0 MDrivenEcoSpaceAndModelForNetStandard2 project. When it is created, I am not able to open the ecospace or the PMP component designers. I'm using Microsoft Visual ...
1
vote
2
answers
48
views
Setting state of a state machine for test reasons
for the implementation of a unit test I need to setup a specific state of an object. As the state is implemented with a state machine, MDriven rejects the direct assignment of the state value to the ...
0
votes
1
answer
27
views
Impersonation in MDriven?
I am trying to build an “impersonate” page in order to “log in” as another user . I am thus trying to assign the CurrenUser with a vCurrent_XXXX value but the result is that the CurrentUser is set to ...
0
votes
1
answer
61
views
How do I control the logout behavior?
My web application has login by OpenID connect. When I test the logout button I'm redirected to the configured logout URL, but when I try to login again I am already logged in.
I would like it to work ...
0
votes
2
answers
46
views
MDriven | Modlr opens in XML editor even though the default is set to Modlr
I've been facing an issue with my project wherein on double click of the .ecomdl file instead of opening in the Modlr, the file opens in an XML editor.
As you can see in the attached screenshot, Modlr ...
0
votes
2
answers
40
views
Error in Viewmodelhelper.createfromViewmodel method
In MVC 4 web application using Mdriven framework version is 7.0.12531 to access data from SQL 2014 express.
We are encountering error while trying to get data using viewmodel xml (Which contains OCL) ...
1
vote
1
answer
32
views
Generating XML using ViewModelAsXML
How do I render a XMLdocument containing these xsi adm xmlns tags with corresponding URI, I have tried the NodeName tagged value but without luck... Replace would do it but is there a more robust way?
1
vote
1
answer
23
views
Controlling the default language (localization) in MDriven
I am using the MDriven wiki support but would like to control the default language. Now it will revert to the original value is used. My issue is that if a browser with setting of "french" ...
1
vote
1
answer
33
views
Support for ordered lists in MDriven?
I have seen a demo on how to use ordered lists in MDriven but I can not find it on the wiki? Is it deprecated or am I just looking in the wrong place? The need is to show an strictly ordered list, ...
1
vote
1
answer
63
views
Get complete response from POST (rest)
When calling a rest api with POST I would like to know all information in the response and its header. For example, we need to handle a JWT. How is that possible in MDriven?
In the vResponse I get the ...
1
vote
0
answers
58
views
calling the Execute method of IExternalLateBoundService
The question about the calling of the custom .net method implemented in the TurnKey_ExternalLateBound.dll.
I remember that it worked for me, but it was long time ago.
I tried this article and I put ...
0
votes
1
answer
125
views
How do a do "while loop" in ocl when server side or Async?
Im using a rest api for getting orders from a webshop, the result is max 100 orders at a time and there is a page param to use for next 100 orders.
I have solve this in a viewmodel using periodic ...
0
votes
1
answer
28
views
How can I hide the flickring bottom bar with save and cancel in mobile mode?
I have set hideSideBar=true and still in mobile and tablet mode the bottom bar with save and cancel flickers when selfVM.save is called. There is a bottom bar even when not saving hiding content in ...
1
vote
1
answer
38
views
Inheritance rules in MDriven?
I have a case where the designer allows me to set inheritance from one class (no inheritance) towards a superclass but not towards that superclass subclasses? Why would that not be allowed?
2
votes
1
answer
37
views
Is it still possible to do ContentOverride in Winforms ViewModels?
Previously it was possible to use ContentOverride in Winforms ViewModels.
Is this still possible in MDriven 7.0.0.11262?
1
vote
1
answer
83
views
How can I add embed objects in emails?
I want to embed images in my email content, for example logo. Normally in C# I add LinkedResource and refer to contentId in my email template. How can I do this in MDriven?
0
votes
1
answer
25
views
Error in MDriven Server log "Client has different model than Server. Save is not allowed"
I get this error from time to time in the MDrivenServer log. What does it mean and how do I fix it?
0
votes
1
answer
39
views
Changing from SQL Server Compact to SQL Server 2014
I am migrating my database from SQL Server Compact to SQL Server. I get this error in the designer. Connection string works, any hints on what is wrong?
0
votes
1
answer
69
views
How do I change navbar logo and styling dynamic?
I am building a multi tenant platform and want to have different logos and styling of the navbar depending on logged in user or some other business rule. How do I do that?
If I want to add widgets ...
1
vote
1
answer
49
views
Long text breaks styling
I get different results for same column (static text) depending on having long or short text, why?
Correct layout (shorter description)
Incorrect layout (Long description in static column)