Пример #1
0
 private static IClassDef GetClassDef()
 {
     if (ClassDef.IsDefined(typeof(ContactPersonCompositeKey)))
     {
         return(ClassDef.ClassDefs[typeof(ContactPersonCompositeKey)]);
     }
     return(CreateClassDef());
 }
 public new static IClassDef GetClassDef()
 {
     if (ClassDef.IsDefined(typeof(FilledCircleInheritsCircleNoPK)))
     {
         return(ClassDef.ClassDefs[typeof(FilledCircleInheritsCircleNoPK)]);
     }
     return(CreateClassDef());
 }
Пример #3
0
 private static IClassDef GetClassDef()
 {
     if (ClassDef.IsDefined(typeof(BOWithCompositePK)))
     {
         return(ClassDef.Get <BOWithCompositePK>());
     }
     return(CreateClassDef());
 }
 public static IClassDef GetClassDef()
 {
     if (ClassDef.IsDefined(typeof(FakeSubClass)))
     {
         return(ClassDef.ClassDefs[typeof(FakeSubClass)]);
     }
     return(CreateClassDef());
 }
Пример #5
0
 public new static IClassDef GetClassDef()
 {
     if (ClassDef.IsDefined(typeof(Circle)))
     {
         return(ClassDef.ClassDefs[typeof(Circle)]);
     }
     return(CreateClassDef());
 }
Пример #6
0
 public new static IClassDef GetClassDef()
 {
     if (ClassDef.IsDefined(typeof(FilledCircleNoPrimaryKey)))
     {
         return(ClassDef.ClassDefs[typeof(FilledCircleNoPrimaryKey)]);
     }
     return(CreateClassDef());
 }
Пример #7
0
 protected internal static IClassDef GetClassDef()
 {
     if (!ClassDef.IsDefined(typeof(Engine)))
     {
         return(CreateClassDef());
     }
     else
     {
         return(ClassDef.ClassDefs[typeof(Engine)]);
     }
 }
Пример #8
0
 public new static IClassDef GetClassDef()
 {
     return(ClassDef.IsDefined(typeof(CircleNoPrimaryKey)) ? ClassDef.ClassDefs[typeof(CircleNoPrimaryKey)] : CreateClassDef());
 }
Пример #9
0
 protected static IClassDef GetClassDef()
 {
     return(ClassDef.IsDefined(typeof(Address)) ? ClassDef.ClassDefs[typeof(Address)] : CreateClassDef());
 }
Пример #10
0
 protected static IClassDef GetClassDef()
 {
     return(ClassDef.IsDefined(typeof(AddressTestBO))
                ? ClassDef.ClassDefs[typeof(AddressTestBO)]
                : LoadDefaultClassDef());
 }
Пример #11
0
 protected static IClassDef GetClassDef()
 {
     return(!ClassDef.IsDefined(typeof(MockBOWithCompulsoryField))
                ? CreateClassDef()
                : ClassDef.ClassDefs[typeof(MockBOWithCompulsoryField)]);
 }
Пример #12
0
//        public static MockBO Create()
//        {
//            return (MockBO) ClassDef.ClassDefs[typeof (MockBO)].CreateNewBusinessObject();
//        }

        protected static IClassDef GetClassDef()
        {
            return(!ClassDef.IsDefined(typeof(MockBO)) ? CreateClassDef() : ClassDef.ClassDefs[typeof(MockBO)]);
        }
Пример #13
0
 public new static IClassDef GetClassDef()
 {
     return(!ClassDef.IsDefined(typeof(FilledCircle)) ? CreateClassDef() : ClassDef.ClassDefs[typeof(FilledCircle)]);
 }
Пример #14
0
 protected internal static IClassDef GetClassDef()
 {
     return(!ClassDef.IsDefined(typeof(Car)) ? CreateClassDef() : ClassDef.ClassDefs[typeof(Car)]);
 }
Пример #15
0
 protected static IClassDef GetClassDef()
 {
     return(ClassDef.IsDefined(typeof(ContactPerson))
         ? ClassDef.ClassDefs[typeof(ContactPerson)]
         : CreateClassDef());
 }
Пример #16
0
 private static IClassDef GetClassDef()
 {
     return(ClassDef.IsDefined(typeof(TransactionLogStub))
                ? ClassDef.ClassDefs[typeof(TransactionLogStub)]
                : CreateClassDef());
 }