public void CreateWithNameAndFriendlyNameAndDefaultValueAndRelationship() { var prop = new PropertyInformationFactory().Create <string>( typeof(PropertyInformationFactoryTests), "name", "friendlyName", (null as string), RelationshipTypes.LazyLoad); Assert.IsTrue(typeof(PropertyInformationUsingOriginalValue <string>).IsAssignableFrom(prop.GetType())); }
public void CreateWithNameAndFriendlyName() { var prop = new PropertyInformationFactory().Create <string>( typeof(PropertyInformationFactoryTests), "name", "friendlyName"); Assert.IsTrue(typeof(PropertyInformationUsingOriginalValue <string>).IsAssignableFrom(prop.GetType())); }
public void CreateWithNameAndFriendlyNameAndDefaultValueAndRelationship() { var prop = new PropertyInformationFactory().Create<string>( typeof(PropertyInformationFactoryTests), "name", "friendlyName", (null as string), RelationshipTypes.LazyLoad); Assert.IsTrue(typeof(PropertyInformationUsingOriginalValue<string>).IsAssignableFrom(prop.GetType())); }
public void CreateWithNameAndFriendlyName() { var prop = new PropertyInformationFactory().Create<string>( typeof(PropertyInformationFactoryTests), "name", "friendlyName"); Assert.IsTrue(typeof(PropertyInformationUsingOriginalValue<string>).IsAssignableFrom(prop.GetType())); }