English 中文(简体)
• 如何在核生化/疗养院活性记录中找到物体
原标题:How to find object in nHibernate/castle activerecord session

我正在Ap中找到以下错误。 在试图更新一个物体时,网上备注:

“具有相同识别值的不同物体已经与本届会议有关”

我审视并制定了我的法典,看看该物体可能在哪里制造,但我看不到。 这与我在另一页有准确的同一代码,对更新工作进行罚款,是相近的。

现在,我想看一下,在会议中,这个其他目标在哪里,要么杀死它,要么发现它如何进入会议。 我如何找到这个目标?

[Update] Ok, I finally found where the object is being called. However, I would still like to know how to find objects in the session for future reference.

最佳回答

如果您需要检查某一物体是否在您的届会上,你可能会从一开始就错过。 重新考虑你如何管理你的届会和持久性目标。

尽管如此,您可能希望尝试ISession.Contains(),但国际排雷中心只有在与本届会议所储存的准确的核对时才能开展工作。

问题回答

暂无回答




相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Transaction handling with TransactionScope

I am implementing Transaction using TransactionScope with the help this MSDN article http://msdn.microsoft.com/en-us/library/system.transactions.transactionscope.aspx I just want to confirm that is ...

System.Web.Mvc.Controller Initialize

i have the following base controller... public class BaseController : Controller { protected override void Initialize(System.Web.Routing.RequestContext requestContext) { if (...

Microsoft.Contracts namespace

For what it is necessary Microsoft.Contracts namespace in asp.net? I mean, in what cases I could write using Microsoft.Contracts;?

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签