I need your help with the following question.
I have a data access class that has a method that takes the parameters to execute a stored procedure.
The problem is this, I have several objects in the application and I'm trying to create a c...
I am creating a Logradouro table where the CEP field is not the primary key, but must be unique.
How do I do this using code-first in Entity 6.0 ?
To create primary key I use the HasKey method:
ToTable("Logradouros...
I have a string Array.
string[] nomes =
{
"Maria",
"João",
"Francisco",
"José",
"Antonio",
"Osvaldo",
"Francimar",
"Cirineu"
};
I would like to display them exactly like this in the Console
Maria João...
I'm trying to leave a form always below the other forms, it does not matter if the user clicks on it, it should always be underneath but usable, something like the desktop, and that's where the problem is, no I'm trying to do this, I'd like to k...
Is there a way to call an executable other than by process?
I need something that does not use the code below to call an executable because when I end a process from an application that is not native to Windows, I can not call it again with t...
I have the following code in the Model:
public enum Lista
{
[Display(Name = "Lista_regular", ResourceType = typeof(Mensagem))]
Regular = 0,
[Display(Name = "Lista_irregular", ResourceType = typeof(Mensagem))]
Irregular = 1
}...
Hello,
I need help with an update using entity framework and one-to-many relationship. I think it's pretty basic, but I'm starting with EF and I can not solve the problem.
Artist and Telephone Artist entities, where an artist can have several...
In C # I use the following code to create the Managed Thread:
Thread thread = new Thread(new ThreadStart(minhaFuncao));
In C ++ I did:
using namespace System::Threading;
.
.
Thread^ thread = gcnew Thread(gcnew ThreadStart(...
I have a problem with my application. What happens is that I am not able to render a partial in another view.
Here is the partial code:
@model CEF01.Models.Ocorrencia
@using (Html.BeginCollectionItem("Ocorrencia"))
{
@Html.HiddenFor(mo...
Imagine the following situation
there are 3 classes
Class A,
class B,
class C,
class A has many B classes and many C classes.
class B has many C classes.
the clsse C has a datetime date field.
public class A
{
DBContext db = new ClassesConte...