Questions tagged [ssdl]
15 questions
3
votes
1 answer
Entity Framework - Entity Mapping problem
I have two tables: Address and Contact which are joined on contactID (in Contact). Both of these tables have entities in my Entity data model (EF 4.0) and I do not wan't to modify them.
I do want to create a new entity that contains information from…

Chris Klepeis
- 9,783
- 16
- 83
- 149
3
votes
2 answers
How does the Entity Framework tell whether a multiplicity of "one" or "zero or one" should be used on a relationship?
I'm programmatically creating an edmx file as part of our code generation process and I'd like to know how the designer decides to use "1" or "0..1" for a relationship when you "Update model from database". Any insight on this? Thanks
Edit:
Ok, I…

adam0101
- 29,096
- 21
- 96
- 174
2
votes
1 answer
Custom SSDL - error 2002: The EntityContainer for the conceptual model specified as part of this MSL does not exist in MetadataWorkspace
I need to be able to switch between Vista DB and SQL Server. I generated my edmx using SQL Server and created a separated SSDL file for Vista DB. When I update my connection string to use my Vista DB SSDL I get the following…

Zeus82
- 6,065
- 9
- 53
- 77
2
votes
5 answers
MySql and Entity framework randomly gives Schema specified is not valid error
I'm using Entity Framework to access my MySQL database. The model was generated using EDMGEN2 and everything works great. I can do all my linq-to-entity query goodness...
...until an indeterminate amount of time passes and I get "The…

InnerSphere
- 61
- 1
- 7
1
vote
0 answers
Is there a package which updates a database to a desired latest SSDL state?
There are thousands of on-premises servers who are running all different versions of a piece of software including a specific version of a database (all at different companies)
Out of a central development department regularly new versions or…

edelwater
- 2,650
- 8
- 39
- 67
1
vote
0 answers
EF6 database first location of cscdl, .msl and .ssdl files
I have a WPF application containing an EF6.0 project with a database first approach.
The user should be able to open different databases in different locations with different names.
So my ConnectionString does not come from the App.config like…

Pontiussu
- 11
- 3
1
vote
2 answers
Mysql EF Stored Procedure, did not generate C# part
I have mysql database with a store procedure. When I added to schema, I found in edmx this:

Igor Golodnitsky
- 4,456
- 7
- 44
- 67
1
vote
1 answer
DACL for event preventing users from setting it
I would like to do the following: create an event registered with the global namespace and modify it's DACL so that:
Regular users can read the event state (Using WaitForSingleObject with a 0 timeout value)
Administrators can change the event…

Stephane
- 3,173
- 3
- 29
- 42
1
vote
1 answer
When is the StoreGeneratedPattern attribute added to a property in the ssdl? (Entity Framework)
When I create a new diagram and "Update model from database", the StoreGeneratedPattern attribute gets added to some primary key properties, but not all of them. What criteria does the designer use to decide whether to add this or not?

adam0101
- 29,096
- 21
- 96
- 174
0
votes
0 answers
SSDL for user mode communicating with kernel
I am working on a Windows driver, and I needed to use IOCTL to communicate between a user mode program and my driver, but I am not exactly sure which SSDL code I should use. Right now, I have the following...
PWDFDEVICE_INIT pInit = NULL;
…

UnSure
- 75
- 6
0
votes
0 answers
unresolved external symbol sout when compiling SSDL program
I borrowed a C++ programming book from my local Library and decided to have a read. Turns out it uses SSDL to code. So i downloaded SSDL and decided to follow along the book. However, when i first compiled and ran my code, this error message popped…

cyntanic
- 13
- 2
0
votes
1 answer
0
votes
1 answer
Can't build SSDL from the source code of the book C++ for the Lazy Programmers
I can't compile the SSDL source code from the book C++ for the Lazy Programmers (2019) by Will Briggs on my ubuntu 20x so could you please tell me what goes wrong? I installed SDL2 and it's working but most of the cases I get the following error…

Bishnu
- 177
- 1
- 10
0
votes
2 answers
EF4: How to generate: .csdl, .edmx, .msl and .ssdl files
I'm working on a project that is using linq to sql.
In my model folder I have 4 files:
model.csdl
model.edmx
model.msl
model.ssdl
But that model is out of date with the current database.
I'm wondering how I can update the model, via an automate…

bruno
- 1,830
- 2
- 22
- 36
0
votes
1 answer
ignore columns in SSDL for entity-framework
We use dotconnect for Oracle and have three schemas (Master, Staging and Prod) in our database. We have three SSDL files, one corresponding to each schema. Until now all the schemas had the same table structure, but now we have less number of…

Jacksparrow
- 13
- 2