MySqlContext.cs 873 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. using Ant.Core;
  2. using Ant.Core.Visitors;
  3. using Ant.Data;
  4. using Ant.DbExpressions;
  5. using Ant.Descriptors;
  6. using Ant.Entity;
  7. using Ant.Exceptions;
  8. using Ant.Infrastructure;
  9. using Ant.ORM;
  10. using System;
  11. using System.Collections.Generic;
  12. using System.Linq;
  13. using System.Linq.Expressions;
  14. using System.Reflection;
  15. using System.Text;
  16. namespace Ant.MySql
  17. {
  18. public class MySqlContext : DbContext
  19. {
  20. DbContextServiceProvider _dbContextServiceProvider;
  21. /// <summary>
  22. ///
  23. /// </summary>
  24. public MySqlContext()
  25. {
  26. this._dbContextServiceProvider = new DbContextServiceProvider(this);
  27. }
  28. /// <summary>
  29. ///
  30. /// </summary>
  31. public override IDbContextServiceProvider DbContextServiceProvider
  32. {
  33. get { return this._dbContextServiceProvider; }
  34. }
  35. }
  36. }