134 questions
Tooling
0
votes
1
replies
19
views
Advices for parsing OCLs
I'm thinking about passing OCLs for creating complex search expressions to a web API. OCL is restricted by the MDriven model so that the risc of injections is less than with SQL but it still exists. ...
0
votes
1
answer
47
views
MDriven OCL linked object attribute null-check in OCL?
In OCL, I have a collection of Thing objects and want to select those that have a Other object assigned to property Thing.Other, which also has a non-null value in Other.Title.
In csharp terms:
...
-1
votes
1
answer
51
views
MDriven Framework on ARM
is it possible to have a distribution for ARM computers?
On my Mac parallel virtual machine I just can’t install it, I have a message saying that this configuration is not supported
Thanks
0
votes
1
answer
50
views
How to resolve dependencies before internal deletion checks are performed?
In MDriven, there's a partial method PreDelete() where you can implement special clean-up and also prevent deletion. My problem is that the internal delete checks throw an InvalidOperationException &...
0
votes
1
answer
34
views
MDriven Modelr reset zoom?
Maybe I'm just blind, but is there any way in MDriven Framework Modelr (modeler) to reset zoom level to 100 % (or whatever the default zoom level is)?
Preferably for all diagrams at once...
1
vote
1
answer
52
views
MDriven Framework file Modlr.config - can it be ignored from git?
Using MDriven Framework, can we safely ignore modlr.config from git? It seems to be modified whenever I even just open the model editor, without changing anything. Does it contain anything that's ...
1
vote
1
answer
40
views
MDriven PreDelete + auto cascade deletes, what is rolled back if deletion is canceled?
Using MDriven Framework, we want to use PreDelete to clean up some linked objects that can't be handled automatically due to interdependencies (they need to be deleted in a particular order).
The ...
0
votes
1
answer
51
views
Error in Persistence Mapper Provider after updating from 7.0.0.14948 to 7.0.0.15936
After updating from MDriven version 7.0.0.14948 to 7.0.0.15936. We have run into a Design Time issue. In the PersistenceMapperProvider file, the PersistenceMapperSQLServer does not work. As soon as ...
2
votes
0
answers
70
views
MDrivenDesigner-UMLModeling -> OCL For Accessing Link table data and writing it to another model with Link table
I have contracts table, that contains multiple products, there is a many-to-many relationship between contracts and products, this yields the link table [Contract-lineitem]: While converting a ...
0
votes
1
answer
54
views
EcoProject1EcoSpace suddenly not instantiating in VS2022 (MDriven Framework, 4.8.1)
OK, so I solved this problem (runtime crash due to incompatible types recognized by Eco's TypeLibrary-scan).
Solution: I removed Rhinol3D classes from Eco method signature parameters, and then ...
0
votes
1
answer
47
views
Missing reference, "ChecksumAttribute" not found
I have a missing reference problem ("Eco.UmlCodeAttributes.ChecksumAttribute") in a new project, using today's versions of the MDriven Designer and MDriven Framework.
I can't find anything ...
0
votes
1
answer
75
views
EcoModeller creates duplicate class members
Often (but not consistently) the EcoModeler creates duplicate class members (methods in this case). This of course causes extra work to cleanup the dupes. It often happens after changes to a model ...
0
votes
3
answers
74
views
How define non-Eco attribute?
I need to define som (transient) fields & properties in Eco classes that aren't supported by the Eco framework.
Q: How do I define a field/attribute as "non-Eco" in an Eco class?
Example:...
0
votes
1
answer
75
views
Error creating new EcoSpace - "Model not Ecoified"
So, I have some MDriven Eco classes to be used/called from a Rhino/Grasshopper (GH) component for creating CAD-geometry.
My original (and well tested) C# code was moved from the GH-component into ...
0
votes
1
answer
98
views
Problems with Unload on associated object and custom database update
Please assume the model below. We save objects of class B using a custom method and a following reload of an instance of B sets the single link property A to null:
A 1 <==> n B
We have the ...