Visual Paradigm for UML - Allow duplicate names - erd

Is there a way how to allow duplicate names in ERD diagrams in Visual Paradigm for UML? What I am trying to do is to document database changes. I want to have every database version in separate diagram. Changes to database are incremental so there are many objects with the same name in different diagrams. Now I am constrained to use postfixes. So first diagram contains table named "METER". Second diagram contains table named "METER2" which is not a real name of database object. In fact "METER2" table doesnt exist, real name is "METER".

Use different Models. Go to "Model Explorer", create a new model and then you can use the same entity names in different ERD diagrams.

Related

Need guidance on data modelling dynamodb for below example

I have flowchart like below (logical design) sorry for my bad shaped diagram (just created in paint) my apologies for that. But now I need guidance how to put this representation in dynamo db table definition. I am newbie to dynamo db and reading through different types of data types which i use, I could still think of map type for some of the attributes, but still dont have full view how can i efficiently.
What I need is: to put these logical design into single dynamodb table . I need table definition (i.e which data type is suitable for which attribute)
Note: Yes or No which is there in green font in diagram are actual values all others are hierarchy labels
Note1: In diagram, that parent can be treated as customer_id

Is it possible to 'ATTACH' a SQLdatabase in a strongly typed dataset in .net

I am using a typed dataset (Devart.Data.SQLite) with SQLite in .net.
I have two separate databases, Master Parts List (MPL) and a Project DB (ProjDB). There could be many ProjDB's but there needs to be only 1 MPL, shared by everyone. The ProjDB will reference an PartID located in the MPL. I want to 'ATTACH' the MPL to my ProjDB in order to draw information from the MPL. I know the recommended course to have everything in the same database for data integrity, however the parts in the MPL will never be deleted. There will only be additions and slight text modifications. Also the MPL is large and I don't want to replicate it every project.
I can add two separate connections in the Datadesigner and created a relation allowing me to create a Master/detail (in separate grids) across the two databases. This fulfills most requirements, but I need to show a row with projDB and MPL data in the same row and the datadesigner will not let me do this.
I have only been able to 'ATTACH' using a 'ExecuteNonQuery' in an untyped dataset.
Should I ditch typed datasets and switch over to untyped?

Is there any way to create and work with Entity-Relationaship Dataset Model in R?

I want to create and analyze data model (or, at least, data schema) of my table dataset in R.
Ideally, it should be an entity-relationship model (https://en.wikipedia.org/wiki/Entity%E2%80%93relationship_model). There is not a single one package for work with ER-models on my radar.
Optionally, it may be a relational data model. I saw some packages, but few good packages.
For example, for a table of three variables: time, customerID, orderID.
I want to make each customer an entity, each order an entity, link them by relation "belongs to" and link each subsequent order of each customer by relation "subsequent", using variable time.
That should result in data schema (aka oriented graph with edges of different types). Is there any standard format on how to create, store and analyze that "meta" information in R?

Table Relations in GUI using SQL developer

I have created a connection to the database in a SQL developer. Now in there I can see lots of Table having different dependencies and constraints applied. now its very confusing and time consuming to see the details of each table manually. I want them in a way(GUI) so that I can easily Identify that particular table is master one and all the dependencies of all other tables. does it provide any kind of tool ? or is there any other Method ?
You can generate an ER diagram for the objects and their relations.
File -> Data Modeler -> Import -> Data Dictionary
Choose the database and schema which contains the objects.
Choose the objects

Dynamically named tables in entity framework queries

I am thinking about ways to manage a table naming issue for an application I'm planning.
Currently there is a table that contains raw materials (approximately 150 rows) and each row has about 20 columns mainly float-value numbers used for calculations. For reference, let's refer to this table as 'materials'.
As these number columns are periodically updated and some users may also wish to create custom versions, I will create a management utility that allows copy/edit of this material table but, crucially it will only allow "save as" under a new table name so that data is never destroyed.
Thus using an automated routine, I'll create 'materials_1", "materials_2" and so on. When a calculation is done in another part of the website, I will store the name of the materials table that was used for the calculation so in future there can be audits done to find where a result has come from.
Now... is it possible for me to do this in an entity framework / unit of work/ repository way (like John Papa's codecamper example) without me having to continually edit the datacontext and add the newly created table names? I can't see how I can pass in a variable to the repository interface that contains the specific table name, which will always be a 'materials' entity even though the physical table name varies?

Resources