This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace NHibernateHelloWorld | |
{ | |
public class Customer | |
{ | |
public virtual Guid Id { get; set; } | |
public virtual string Name { get; set; } | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# To use this, git svn clone the NHibernate repo into an nh-git folder. Use the -s option and no other options. | |
# Patrick has a current synced copy on his system. | |
# These people don't seem to appear in any commits. For whatever reason, we are missing hundreds of commits. | |
# Use this command to get a new list when we find our missing branches. | |
# git log --format "%aN" | sort -u | |
# johntmorris=John Morris <johntmorris@users.sourceforge.net> | |
# jimcool=Jakub MArsik <jimcool@users.sourceforge.net> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class MyServiceHost : ServiceHost | |
{ | |
private IUnityContainer _ioc; | |
public IUnityContainer IoC | |
{ | |
get { return _ioc; } | |
} | |
public MyServiceHost(IUnityContainer ioc, Type serviceType, Uri[] baseAddresses) |