Your comments
Cheers, the specs should be fine, our test machine has the same specs.
When you start it, do you see anything at all?
Does the blue Splash Screen show up when first starting?
Does the application shell show up at all?
Thanks for contacting us.
What version of Windows are you running? What are the general specs of your computer e.g. Memory, CPU?
I'm trying to work out where the issue is.
What you want to do is add the Output object to your function.
You can do it like this
public static string GetLookupFieldName(IClassifier umlClass, IOutput output)
Then you can output values to "Output" window in SilverModel.
output.WriteLine(att["Database Functions","LookupField"]);
The above line will output the value of the metadata to the output window.
Hope this helps, let me know if you need more information.
Hi Duncan,
Thanks for the feedback :)
I've added this to our project backlog and will update this post when it's complete. Should be done in the next 4 weeks.
Hi Warren.
Yes, SilverModel can easily generate the code for stored procedures for you.
Have a look at the POCO generator for C# https://github.com/SilverdawnSoftware/SilverModel-Code-Generators/blob/master/Microsoft/General/C%23%20Poco/pocoStart.razor . This template could be easy modified to create SQL code for you.
If you need anymore help please ask.
Hi Albert,
To find out what classes and class in inheriting, you will need to find the Generalizations for that class, where that class is the target.
There is an method called GetTargetGeneralizations that will allow you to find these.
I have updated the EF Core Generator to support this. See the file DatabaseObject.razor for an example.
Also here is a copy of the relevant code.
public static string GetInheritance(IClassifier umlClass)
{
var generals=umlClass.GetTargetGeneralizations();
if (generals.Any())
{
return ": "+((INamedElement)generals.First().Source).Name;
}
return "";
}
Hope this helps, any more questions please ask me.
Customer support service by UserEcho
Thanks for pictures David, that helped a lot.
That version of the software had a issue that has been fixed in the lastest version.
Download and install the latest version and then very thing should then work.
https://downloads.silverdawnsoftware.com/downloads/silvermodel/SilverModel.exe
or
https://downloads.silverdawnsoftware.com/downloads/silvermodel/2019.8.10.247/silvermodel.exe (direct link to the latest version)