From: John M. <joh...@us...> - 2005-02-11 22:53:47
|
Update of /cvsroot/nhibernate/NHibernateContrib/src/NHibernate.Tool.Net2Hbm In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7115/src/NHibernate.Tool.Net2Hbm Added Files: CollectionOneToManyAttribute.cs Log Message: Added a collection one to many attribute. --- NEW FILE: CollectionOneToManyAttribute.cs --- #region Copyright (c) 2004 Schwab Performance Technologies, Inc. All rights reserved. /* ============================================================================ // $Header: /cvsroot/nhibernate/NHibernateContrib/src/NHibernate.Tool.Net2Hbm/CollectionOneToManyAttribute.cs,v 1.1 2005/02/11 22:53:35 johntmorris Exp $ // // Copyright (c) 2004 Schwab Performance Technologies, Inc. All rights reserved. // // Purpose: [To be filled in.] // // $Log: CollectionOneToManyAttribute.cs,v $ // Revision 1.1 2005/02/11 22:53:35 johntmorris // Added a collection one to many attribute. // // // $NoKeywords: $ // ========================================================================= */ #endregion using System; namespace NHibernate.Tool.Net2Hbm { /// <summary> /// Summary description for CollectionOneToManyAttribute. /// </summary> [AttributeUsage(AttributeTargets.Property)] public class CollectionOneToManyAttribute : Attribute { #region Member Variables private System.Type m_Type; #endregion /// <summary> /// Class constructor. /// </summary> public CollectionOneToManyAttribute( System.Type type ) { this.Type = type; } /// <summary> /// Gets and sets the Type. /// </summary> public System.Type Type { get { return m_Type; } set { m_Type = value; } } } } |