You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

LuGroupsDataAccess.cs 936B

123456789101112131415161718192021222324252627282930313233343536
  1. using Luticate2.Auth.DataAccess.Models;
  2. using Luticate2.Auth.Dbo.Groups;
  3. using Luticate2.Utils.DataAccess;
  4. namespace Luticate2.Auth.DataAccess
  5. {
  6. public class LuGroupsDataAccess //: LuEfCrudDataAccess<lu_groups, LuGroupsAddDbo, LuGroupsDbo, LuDatabaseContext>
  7. {
  8. // public LuGroupsDataAccess(LuDatabaseContext db)
  9. // : base(db, db.lu_groups)
  10. // {
  11. // }
  12. public string Get()
  13. {
  14. return "groups";
  15. }
  16. // protected override lu_groups GetModelFromTCreate(LuGroupsAddDbo obj)
  17. // {
  18. // return new lu_groups
  19. // {
  20. // name = obj.Name
  21. // };
  22. // }
  23. //
  24. // protected override LuGroupsDbo GetDboFromModel(lu_groups model)
  25. // {
  26. // return new LuGroupsDbo
  27. // {
  28. // Id = model.id.ToString(),
  29. // Name = model.name
  30. // };
  31. // }
  32. }
  33. }