Hi, I have been trying to add properties in AppUser, we are using MongoDb, it is not reflecting in dB, I have also try to initialize those properties in AppUser constructor they are still not reflecting, how can I extend AppUser Entity . What I did is I updated the AppUser with following code
public virtual bool MyProperty { get; private set; }
private AppUser()
{
MyProperty = true;
}
I also tried diffrent things in in following method like protected override void CreateModel(IMongoModelBuilder modelBuilder) { base.CreateModel(modelBuilder);
modelBuilder.Entity<AppUser>(b =>
{
/* Sharing the same "AbpUsers" collection
* with the Identity module's IdentityUser class. */
b.CollectionName = "AbpUsers";
b.BsonMap.MapProperty(x => x.MyProperty);
});
}
what do I need to add property or properties to extend AppUser what methods I need to update ?