|
|
@ -1,10 +1,11 @@
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Entities
|
|
|
|
namespace Entities;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[Table("InquiryTable")]
|
|
|
|
|
|
|
|
public class InquiryTableEntity
|
|
|
|
{
|
|
|
|
{
|
|
|
|
public class InquiryTableEntity
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
[Key]
|
|
|
|
[Key]
|
|
|
|
[ForeignKey(nameof(Owner))]
|
|
|
|
[ForeignKey(nameof(Owner))]
|
|
|
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
|
|
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
|
|
@ -33,5 +34,4 @@ namespace Entities
|
|
|
|
DatabaseName = databaseName;
|
|
|
|
DatabaseName = databaseName;
|
|
|
|
ConnectionInfo = connectionInfo;
|
|
|
|
ConnectionInfo = connectionInfo;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|