开发者交流平台
开发者交流平台

通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。

bj
登录
  • 友情链接
站内
repository-pattern

repository-pattern

go

使用EF Core 7从数据库中删除子表记录。

英文: Delete child table records from database using EF Core 7 问题 我有一个解决方案,其中我使用了存储库模式和 UnitOfWork。 我有...
huangapple 2023年8月10日173评论c# entity-framework-core
go

在Python中链接类型边界对。

英文: Link pairs of type bounds together in Python 问题 我正在尝试创建一个抽象的仓库类,以便可以大幅减少我的样板代码的长度。同时,为了实现这一目标,我需...
huangapple 2023年7月27日119评论python repository-pattern
go

尝试对基于.NET EF Core的通用存储库进行单元测试在处理DbContext.Entry时失败

英文: Trying to Unit Test Generic Repository based on .NET EF Core fails when dealing with DbContext.E...
huangapple 2023年6月11日125评论c# entity-framework-core
go

在Repository-Service-Controller模式中导出的类型

英文: Exported types in Repository-Service-Controller Pattern 问题 如果你已经了解了Repository-Service-Controller...
huangapple 2023年2月2日149评论design-patterns go
go

在使用存储库模式时,如何在Go中处理数据库连接?

英文: How to handle DB connection in Go when using Repository pattern? 问题 假设我有一个非常简单的存储库接口,只从目标数据库中读取:...
huangapple 2022年7月11日158评论go sql
go

在Go语言中,可以通过在结构体的自定义构造函数中访问内部参数来实现。

英文: Is there a way to access an internal parameter in a custom constructor from struct in Go? 问题 我想访...
huangapple 2022年2月26日152评论go oop
go

仓储模式与事务查询

英文: Repository pattern with transactional query 问题 我正在编写一个可以进行事务查询的服务(在这个问题中,我将使用GORM)。 UserService ...
huangapple 2021年7月6日149评论go repository-pattern
go

使用 @Query 在 Spring 中更新表格

英文: Use @Query to update table in Spring 问题 我正尝试在Spring中使用自定义查询来更新表,但是我遇到了404 NOT FOUND错误。 这是我的repos...
huangapple 2020年9月22日145评论java spring
go

ViewModel问题,无法在M V VM架构中显示数据库更改。

英文: ViewModel Problem to show Database changes in M V VM Architecture 问题 以下是翻译的内容: 在尝试实现 M V VM 架构时,...
huangapple 2020年7月24日137评论android-room java
go

使用仓储模式在Entity Framework中添加带有相关子对象的记录。

英文: Adding record with related child object in Entity Framework using Repository Pattern 问题 我在添加一个带有...
huangapple 2020年1月7日217评论.net c#

文章导航

1 2
name
开发者交流平台
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
文章117266 留言 4 访客17213800

热门标签

html python spring-boot r pandas node.js sql arrays c# flutter css java reactjs typescript json spring javascript go c++ android

悟已往之不谏,知来者之可追!

今日
00%
已00小时
本周
00%
已过00天
本月
00%
已过00天
今年
00%
已是00月

Copyright ©  开发者交流平台 版权所有.

闽 ICP 备 2022019110 号 - 1
  • 开发者交流平台

    本页二维码