Ejemplo n.º 1
0
 public static IPersistentReferenceMemberInfo CreateReferenceMember(this IPersistentClassInfo classInfo, IPersistentClassInfo referenceClassInfo, bool association = false)
 {
     Guard.ArgumentNotNull(referenceClassInfo.Name, "referenceClassInfo.Name");
     return(classInfo.CreateReferenceMember(referenceClassInfo.Name, referenceClassInfo, association));
 }
Ejemplo n.º 2
0
 public static IPersistentReferenceMemberInfo CreateReferenceMember(this IPersistentClassInfo classInfo, string name, IPersistentClassInfo referenceClassInfo, bool association = false)
 {
     return(classInfo.CreateReferenceMember(name, classInfo.PersistentAssemblyInfo.Name + "." + referenceClassInfo.Name, association));
 }
Ejemplo n.º 3
0
 public static IPersistentReferenceMemberInfo CreateReferenceMember(this IPersistentClassInfo classInfo, string name, Type referenceType, bool assocation = false)
 {
     return(classInfo.CreateReferenceMember(name, referenceType.FullName, assocation));
 }