Database updates
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
// This is auto-generated code.
|
||||
//------------------------------------------------------------------------------
|
||||
// This code was generated by Entity Developer tool using EF Core template.
|
||||
// Code is generated on: 02.04.2022 16:05:26
|
||||
// Code is generated on: 04.04.2022 13:38:25
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
@@ -37,6 +37,10 @@ namespace FoodsharingSiegen.Contracts.Entity
|
||||
|
||||
public virtual Guid ProspectId { get; set; }
|
||||
|
||||
public virtual bool NotNeeded { get; set; }
|
||||
|
||||
public virtual DateTime Created { get; set; }
|
||||
|
||||
public virtual User User { get; set; }
|
||||
|
||||
public virtual Prospect Prospect { get; set; }
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// This is auto-generated code.
|
||||
//------------------------------------------------------------------------------
|
||||
// This code was generated by Entity Developer tool using EF Core template.
|
||||
// Code is generated on: 02.04.2022 16:05:26
|
||||
// Code is generated on: 04.04.2022 13:38:25
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// This is auto-generated code.
|
||||
//------------------------------------------------------------------------------
|
||||
// This code was generated by Entity Developer tool using EF Core template.
|
||||
// Code is generated on: 02.04.2022 16:05:26
|
||||
// Code is generated on: 04.04.2022 13:38:25
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// This is auto-generated code.
|
||||
//------------------------------------------------------------------------------
|
||||
// This code was generated by Entity Developer tool using EF Core template.
|
||||
// Code is generated on: 02.04.2022 16:05:26
|
||||
// Code is generated on: 04.04.2022 13:38:25
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
|
||||
@@ -1,15 +1,23 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Data;
|
||||
using System.Data.Common;
|
||||
using System.Linq;
|
||||
using System.Linq.Expressions;
|
||||
using FoodsharingSiegen.Shared.Helper;
|
||||
|
||||
namespace FoodsharingSiegen.Contracts.Entity
|
||||
{
|
||||
|
||||
public partial class User
|
||||
{
|
||||
[NotMapped]
|
||||
public string Password
|
||||
{
|
||||
get => AuthHelper.Decrypt(EncryptedPassword);
|
||||
set => EncryptedPassword = AuthHelper.Encrypt(value);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// This is auto-generated code.
|
||||
//------------------------------------------------------------------------------
|
||||
// This code was generated by Entity Developer tool using EF Core template.
|
||||
// Code is generated on: 02.04.2022 16:05:26
|
||||
// Code is generated on: 04.04.2022 13:38:25
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
|
||||
Reference in New Issue
Block a user