<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    blogjava's web log

    blogjava's web log
    ...

    1. Membership/role/profile API: http://quickstarts.asp.net/QuickStartv20/aspnet/doc/security/membership.aspx
    2. SiteMap:
    3. Masterpages::
    4. ASP.NET Ajax:
    5. Localization:
    6. Themes:
    posted @ 2007-06-15 22:26 record java and net 閱讀(398) | 評論 (0)編輯 收藏

    				
    						
    "Failed to lazily initialize a collection"
    				try
    {
    session = Class1.GetFactory().OpenSession();
    Archives archives= session.Get(typeof(Archives), id) as Archives;
    NHibernate.NHibernateUtil.Initialize(archives.ArticlesList);return archives;
    }
    catch (Exception ex)
    {
    throw ex;
    }
    finally { session.Close(); }
    ?或者
    session.CreateCriteria(typeof(Catalog))
    .Add(Expression.Eq("ID"),id)
    .SetFetchMode("Specifications",FetchMode.Join)
    .UniqueResult() as Catalog;


    或者

    left JOIN FETCH

    這樣在session關閉 照樣取他的 級聯對象 ,
    posted @ 2007-06-15 22:23 record java and net 閱讀(1515) | 評論 (0)編輯 收藏

    ActiveWriter is a visual designer, an addin for Visual Studio 2005, to design a domain model and to generate code decorated with ActiveRecord attributes.
    If you are familiar with ActiveRecord, this tool will make your ActiveRecord experience a little easier. If you are not, be sure to check ActiveRecord's web site given above first, there are tons of information to begin with and a great forum if you need some help.
    Please see using.castleproject.org for the documentation.

    ?

    SVN repository at? https://svn.castleproject.org/svn/castlecontrib/activewriter/

    Preview 3 Release - 14/06/2007

    What's new:

    • Now optionally generates NHibernate hbm.xml files.
    • Namespace in generated code is now customizable (Idea: Robert van Hoornaar)
    • Imports in generated code is now customizable (Idea: Robert van Hoornaar)
    • Model classes can override model level base class definition. (Patch: Robert van Hoornaar)
    • Model classes can override model level generics generation. (Idea: Robert van Hoornaar)
    • Contrib-26: Add support for AR Nested / NH Component mappings. Allow the ability to specify a column prefix for active record. (thx: Adam Tybor)
    • Optionally generates classes implementing INotifyPropertyChanged.
    • Support for drag-drop from Server Explorer for MySQL databases. Requires MySQL Connector/Net (5.1). (Patch: Michael Morton)
    • Support for custom types through IUserType. See http://support.castleproject.org/browse/CONTRIB-28#action_11456 for usage. (Patch: Ricardo Stuven)
    • Ability to define a nested class with a different property name than the nested class (Idea: Craig Neuwirt)

    ?

    詳情:
    http://altinoren.com/PermaLink,guid,7043a882-8325-4e48-b956-54868219297c.aspx

    posted @ 2007-06-15 22:21 record java and net 閱讀(610) | 評論 (0)編輯 收藏

    http://www.lingoes.cn/

    靈格斯詞霸 -- 免費的詞典與文本翻譯軟件

    http://maxpda.com/

    posted @ 2007-05-27 10:49 record java and net 閱讀(348) | 評論 (0)編輯 收藏

    Custom Membership and Role Providers using NHibernate

    該工程已經遷入CodePlex

    地址 http://www.codeplex.com/nhibernateprovider

     

    NHibernate Plugin for Visual Studio 2005

    這個Nhibernate插件也可以用用。圖形化設計生成hbm.xml文件和實體類

    感覺還不錯。如何使用可以看看Getting Started with NHibernate Plug-in for Visual Studio 2005

    截2張圖

     設計界面

    屬性值可以設置

     

    最終 生成的配置文件Archives.hbm.xml

    <hibernate-mapping default-cascade="none" xmlns="urn:nhibernate-mapping-2.2">
      <class name="WindowsApplication1.Archives, WindowsApplication1" table="Archives">
        <id name="id" type="System.Int32" column="id" unsaved-value="0">
          <generator class="native" />
        </id>
        <property name="Name" type="System.String" column="name" not-null="false" length="50" />
        <property name="CreateDate" type="System.DateTime" column="createDate" not-null="false" />
      </class>
    </hibernate-mapping>
    posted @ 2007-05-12 22:53 record java and net 閱讀(2499) | 評論 (3)編輯 收藏
    僅列出標題
    共31頁: 上一頁 1 2 3 4 5 6 7 8 9 下一頁 Last 

    導航

    常用鏈接

    留言簿(44)

    新聞檔案

    2.動態語言

    3.工具箱

    9.文檔教程

    友情鏈接

    搜索

    最新評論

    主站蜘蛛池模板: 羞羞网站免费观看| 亚洲av产在线精品亚洲第一站| 精品国产日韩亚洲一区在线| 一个人免费观看在线视频www| 亚洲日本在线免费观看| 中文字幕免费在线看线人 | 中文字幕无码免费久久99 | 国产亚洲综合精品一区二区三区| 成年人免费观看视频网站| 亚洲午夜精品久久久久久app| 免费黄色app网站| 黄色网址大全免费| 在线A亚洲老鸭窝天堂| 国产免费网站看v片在线| 亚洲自偷自偷精品| 最近2019中文字幕mv免费看| 精品亚洲成A人在线观看青青| 亚洲国产精品第一区二区三区| 毛片基地看看成人免费| 久久亚洲一区二区| 妻子5免费完整高清电视| 亚洲啪AV永久无码精品放毛片 | 成人性生交大片免费看无遮挡 | 成人性生交大片免费看好| 亚洲视频在线观看免费视频| 青青视频观看免费99| 免费精品久久久久久中文字幕| 久久青青成人亚洲精品| 国产高清免费视频| 特黄特色大片免费| 亚洲第一精品在线视频| 四虎成人免费观看在线网址| 一个人看的hd免费视频| 亚洲伊人久久大香线蕉在观| 成人伊人亚洲人综合网站222| a在线观看免费网址大全| 亚洲国产成人99精品激情在线| 免费一级毛片正在播放| 1000部羞羞禁止免费观看视频| 国产精品亚洲二区在线| 亚洲伦另类中文字幕|