Пример #1
0
        public override string GetDetailUpdateSql(string key, XModelBase detailModel)
        {
            XProviderBase provider = null;

            switch (key)
            {
            case "grdFiles":
                provider = XFactoryManager.CreateFactory().GetTaskAttachmentProvider();
                break;
            }
            return(provider.GetUpdateSql(detailModel));
        }
Пример #2
0
        private new string GetDetailInsertSql(string key, XModelBase detailInfo)
        {
            XProviderBase provider = null;

            switch (key)
            {
            case "grdFiles":
                provider = XFactoryManager.CreateFactory().GetTaskAttachmentProvider();
                break;
            }
            return(provider.GetInsertSql(detailInfo));
        }