1
I am developing a system for real estate and need to relate the Table Aspnetusers with the tables that the system will have and with cardinality one for many, this I want so that the system can pass me reports of who made registration functionalities and among other functionalities executed day by day in the system.
If someone has a type of control better can indicate me, I really appreciate, but even so pass the solution to this my doubt, which may not be one of the best and can solve in parts.
One of the tables I want to have control of which user made the registration is the Owner Table.
public class Proprietario
{
public int Id { get; set; }
public string Nome { get; set; }
public string Endereco { get; set; }
public string Numero { get; set; }
public string Bairro { get; set; }
public string Cidade { get; set; }
public string Cep { get; set; }
public string Rg { get; set; }
public string Cpf { get; set; }
public string Telefone { get; set; }
public string Celular { get; set; }
public DateTime DataCadastro { get; set; }
}
is the following, when we create an Asp.Net MVC application we have the Change Authentication option, with the Individual User Account option selected, with this the application gets the user login functionality, then what I want, and realize the relationship of the logged in user with the Owner table, because the user will be able to register Multiple Owners, Understood ?
– Cyberlacs