Abp.EntityFramework.AbpDbContext.CheckMayHaveTenant(System.Data.Entity.Infrastructure.DbEntityEntry)

Here are the examples of the csharp api class Abp.EntityFramework.AbpDbContext.CheckMayHaveTenant(System.Data.Entity.Infrastructure.DbEntityEntry) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Example 7

1. Example

Project: ABP
Source File: AbpDbContext.cs
protected virtual void CheckAndSetTenantIdProperty(DbEntityEntry entry)
        {
            if (entry.Entity is IMustHaveTenant)
            {
                CheckAndSetMustHaveTenant(entry);
            }
            else if (entry.Entity is IMayHaveTenant)
            {
                CheckMayHaveTenant(entry);
            }
        }