Init
This commit is contained in:
32
Prefab.Catalog/Data/IModuleDb.cs
Normal file
32
Prefab.Catalog/Data/IModuleDb.cs
Normal file
@@ -0,0 +1,32 @@
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Prefab.Catalog.Domain.Entities;
|
||||
using Prefab.Data;
|
||||
|
||||
namespace Prefab.Catalog.Data;
|
||||
|
||||
public interface IModuleDb : IPrefabDb
|
||||
{
|
||||
static string SchemaName => nameof(Catalog).ToLower();
|
||||
|
||||
DbSet<Category> Categories { get; }
|
||||
|
||||
DbSet<Product> Products { get; }
|
||||
|
||||
DbSet<OptionDefinition> OptionDefinitions { get; }
|
||||
|
||||
DbSet<OptionValue> OptionValues { get; }
|
||||
|
||||
DbSet<OptionTier> OptionTiers { get; }
|
||||
|
||||
DbSet<OptionRuleSet> OptionRuleSets { get; }
|
||||
|
||||
DbSet<OptionRuleCondition> OptionRuleConditions { get; }
|
||||
|
||||
DbSet<VariantAxisValue> VariantAxisValues { get; }
|
||||
|
||||
DbSet<AttributeDefinition> AttributeDefinitions { get; }
|
||||
|
||||
DbSet<ProductAttributeValue> ProductAttributeValues { get; }
|
||||
|
||||
DbSet<ProductCategory> ProductCategories { get; }
|
||||
}
|
||||
Reference in New Issue
Block a user