Generate UML model by entering values in database using asp.net c# - c#

I need to generate a UML activity model say for example a login page by storing all the data in database. I want to store the x and y axis of the shapes and their successor and predecessor. i tried in many ways bt couldnt get a satisfactory solution. Can any one provide me useful links or tools with which i can start building the App.

Related

Developing a Tool to use pretrained models for OCR and Text Detection in C#

Im exploring to use pretrained models like OpenCV EAST or CTPN or other to detect text on an image. I want to develop a tool in C# for this purpose. The aim is to develop a tool in which I can pass any pretrained model with test image, and the model should be able to identify the text blocks on the image.
This tool needs to be a generic one in which any model can be used without making much or no code changes in the code.
In my efforts to explore different models and libraries (Tensorflow.NET, OpenCVSharp etc) I got impression that for each model I need to write model specific code to detect text on the images.
As Im quite novice in this field, my basic question is that if it is possible to use a generic code with all different models (EAST, CTPN , CRAFT etc) ? Or I need to write model specific code for all different models?
Thanks in advance

How to create Revit add-in and save data in external database?

I would like to create a Revit addon that loads some data from Revit model and assosiates them with user entry data. Is there a way to save this associations in the project for future use?Do I have to create a database that keeps these associations, like a local SQLLite or a file localy?
Thank you in advance!
These are several different questions at once.
How to create a Revit add-in is described in numerous tutorials and other material, much of which is listed by The Building Coder overview of the Revit API getting started material.
There are many ways to associate user data with Revit model elements. You can store it in an external database, as you suggest, using either the Revit element id or unique id to maintain an association.
You can also store user data on individual elements within the Revit model by adding it to a shared parameter or using extensible storage.
I would suggest you work through the getting started material and learn the fundamentals of the Revit API and also the relevant Revit end user workflows for your use case next.

Need to create a visual hierarchy graphs in C#

I need to create an application read from the database & create a hierarchy graphs in my form, So I can access them from the form & change some properties or change the relation between the objects Like "Family Tree or Organization Structure" in C# & SQL Server...... if if any one know a 3rd party component to do that Please till me.
Holy cow! There are multiple ways to do this, but I'm not going to do your homework for you. Here's how I'd start:
You'll need to figure out the hierarchical relationships in the database.
Figure out how to pass that data to the view (html or whatever the platform).
Then you'll need to write CSS that reflects the hierarchy.
If you can give the data and more info I can help further.

C# App database - small, miltiple-form application - forms need to exchange data via database

To give you some background, the project I am working on is a poker tournament manager. It uses two forms - the main form will display information throughout the tournament, such as players remaining, player names, stakes, payout structure, time left etc; and the other form will be used as a 'setup' form. Both of these forms are built and working, but I am struggling to get them to share data with each other.
What I want to do is load the setup form, select my options for configuring the tournament, and then clicking 'save' will assign all of my options to variables and then write these variables to a database of some kind (I'm new to DB design and I haven't used any DB objects in Visual Studio yet). The main form can then read the DB and display the relevant data. The benefits I can see of this is that the tournament setup can be saved for future use, and player stats can be accumulated over time.
What sort of database object do I need to create to store this data, and how do I open connections etc and write data to the DB?
I'd probably suggest that you use LINQ to SQL. ScottGu did an excellent series on blog posts on how to build a model with this. You only really need to read the first few for a simple CRUD application.
http://weblogs.asp.net/scottgu/archive/2007/05/19/using-linq-to-sql-part-1.aspx
http://weblogs.asp.net/scottgu/archive/2007/05/29/linq-to-sql-part-2-defining-our-data-model-classes.aspx
http://weblogs.asp.net/scottgu/archive/2007/06/29/linq-to-sql-part-3-querying-our-database.aspx
http://weblogs.asp.net/scottgu/archive/2007/07/11/linq-to-sql-part-4-updating-our-database.aspx
http://weblogs.asp.net/scottgu/archive/2007/07/16/linq-to-sql-part-5-binding-ui-using-the-asp-linqdatasource-control.aspx
http://weblogs.asp.net/scottgu/archive/2007/08/16/linq-to-sql-part-6-retrieving-data-using-stored-procedures.aspx
http://weblogs.asp.net/scottgu/archive/2007/08/23/linq-to-sql-part-7-updating-our-database-using-stored-procedures.aspx
http://weblogs.asp.net/scottgu/archive/2007/08/27/linq-to-sql-part-8-executing-custom-sql-expressions.aspx
http://weblogs.asp.net/scottgu/archive/2007/09/07/linq-to-sql-part-9-using-a-custom-linq-expression-with-the-lt-asp-linqdatasource-gt-control.aspx
Reference: http://msdn.microsoft.com/en-us/library/bb425822.aspx

How do I build a diagramming application in .NET?

I want to write a GUI seating application that allows users to draw and annotate simple "maps" of seating areas.
The end result would probably look something a little like Visio, but specifically for manipulating my "seating" data model rather than producing files.
In Java-land, there's the Graphical Editing Framework (GEF) -- is there anything like this in the .NET space? Should I just use System.Drawing.Drawing2D primitives and handle it all myself?
Here is product from Nevron. It is paid but doing it all yourself will take lot of time and effort.
Open Diagram and EasyDiagram.net are available at Codeplex. Be sure to download and look into their code.
There is Netron Library for diagramming. It is open source and uses GDI+.
Check out NShape. It is an open source diagramming framework written in C# and quite powerful. Its controls are WinForms controls but you can also use it for WPF.
You might consider using the DSL Toolkit from the Visual Studio SDK. It allows you to create a graphical DSL designer by first creating a domain model, and then creating the graphical notation that will allow users to create or edit instances of that model.
You may very well be able to create a graphical notation that looks like a seating area. This would allow your users to not only "diagram", but to produce a file containing a filled-in domain model of what was diagrammed.
Check out our MetaDraw component - www.MetaDraw.com
MetaDraw is designed to make applications like this easy.
MetaDraw will support a background image and an annotation layer
You can put users into a variety of editing modes - Lines, Curves, Text, Shapes, etc.
Every drawn element is distinct - just like in Visio, so you can allow users to select objects and move them around or resize them. Every object can have multiple hidden tags ( like seat numbers or database record pointers ). You can recognize which objects users select ( for instance take some action when user clicks seat 22 ) . You can dynamically modify propertie by code - such as searching for seat 22 and changing it's fill color. Of course you can also scroll, zoom, print, save to a variety of formats and more.

Categories

Resources