namespace Identifications.Models { public class Identification { public Int32 ID { get; set; } public string FullName { get; set; } public HttpPostedFileBase file { get; set; } } public class DbIdentification : DbContext { public DbSet<Identification> Identifications { get; set; } } }
<connectionstrings> <add name="DbIdentification"> <connectionString="server=.; database=Sample; Integrated Security=SSPI" providerName="System.Data.SqlClient"/> </connectionstrings>
namespace Identifications.Models { public class Identification { [Key] public Int32 ID { get; set; } public string FullName { get; set; } public HttpPostedFileBase file { get; set; } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)