Exemple #1
0
        public void FindMethodDataPortal_Create_Criteria()
        {
            var obj    = new OldStyleCreate();
            var method = Csla.Reflection.ServiceProviderMethodCaller.FindDataPortalMethod <CreateAttribute>(obj, new object[] { 123 });

            Assert.IsNotNull(method);
        }
        public void FindMethodDataPortal_Create()
        {
            var obj    = new OldStyleCreate();
            var method = Csla.Reflection.ServiceProviderMethodCaller.FindDataPortalMethod(obj, typeof(CreateAttribute), null);

            Assert.IsNotNull(method);
        }