在Nhibernate中插入行 [英] Insert row in Nhibernate

查看:94
本文介绍了在Nhibernate中插入行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

目标:
使用Nhibernate在C#代码的基础上在表中添加新行.

问题:
-我需要使用什么c#?
-我还需要自定义的XML文件吗?
-您有什么很好的例子吗?

Goal:
Add new row in the table based on the C# code with Nhibernate.

Problem:
- What c# do i need to do it?
- Do I also need a customized XML file for it?
- Do you have any good example?

推荐答案

请检查下面的文章系列
使用NHibernate的对象关系映射(ORM)-第1部分,共8部分一个实体协会 [ ^ ]
check below article series
Object Relational Mapping (ORM) using NHibernate - Part 1 of 8 Coding One to One Entity Associations [^]


这篇关于在Nhibernate中插入行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆