I am developing a login system in MVC, which includes the following entities: Subject, User and Roles
The model of each entity is the following:
public partial class syssujetos
{
[Key]
[Column(Order = 0)]
[DatabaseGenerated(Databas...
I need to create a sequence that is inserted by default, that is, I need that when inserting a record it is inserted by default,
example
fn000001,fn000002, ect.
help
What I want is to delete an entity framework record through a linq query that only gives me a slight error:
linq query code:
var context = GetDbContext();
var listadoV = from Ar in context.archivo
wher...
Function TraeConta(ByVal DAT_CODIGO As Integer,
ByVal DAT_NRO_ORDEN As Integer,
ByVal DAT_RUTPAC As Integer) As MIN_CONT_CONTACTADOS
Dim cont As New MIN_CONT_CONTACTADOS
Try...
Good day dear, I have a web application which I want to publish, I was looking at pages and tutorials where they publish them with the file system option but when I do it I get a warning that this option does not support the database, the appl...
how can I create relationships with EF code
Client - > Customer registration
PersonalInformation - > Personal information of the client
Payment History - > Condo payment reports
public class Client{
[Key]
public int Id { ge...
I have a list of people that are related to a committee table and another table types person, I need to return the list of people of a committee and also return the list of people of a type
note: return the people that I return from the relation...
I'm working on a small project, but I want to make an insert to an intermediate table that has the data from many to many.
Database Diagram
And this is the EntityFramework Diagram in Visual Studio