public override string GetDetailUpdateSql(string key, XModelBase detailModel) { XProviderBase provider = null; switch (key) { case "grdFiles": provider = XFactoryManager.CreateFactory().GetTaskAttachmentProvider(); break; } return(provider.GetUpdateSql(detailModel)); }
private new string GetDetailInsertSql(string key, XModelBase detailInfo) { XProviderBase provider = null; switch (key) { case "grdFiles": provider = XFactoryManager.CreateFactory().GetTaskAttachmentProvider(); break; } return(provider.GetInsertSql(detailInfo)); }