Answer the question
In order to leave comments, you need to log in
How to inherit from dll?
Good afternoon.
I have a class that describes database entities, this class is in dll.
//
// Summary:
// Ссылочное значение с кодом.
public class ReferenceCodeValue : ReferenceValue
{
//
// Summary:
// Код значения.
public string Code { get; set; }
}
}
Table= new ReferenceCodeValue()
{
Name= t.Name,
Id = t.kl_TypeUID,
Code = t.Type_U,
},
Answer the question
In order to leave comments, you need to log in
Are you using EntityFramework to connect to the database?
If yes, then just dbContext.Table.Add(new ....); dbContext.SaveChanges();
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question