public Error RemoveBind(int refrenceId, TemplateBindType templateBindType) { var result = tpldal.RemoveBind(templateBindType, refrenceId); RepositoryDataCache.ClearTemplateBinds(); return(null); }
public Error SaveTemplateBinds(int refrenceId, TemplateBind[] list) { if (list == null || list.Length == 0) { return(null); } foreach (var b in list) { tpldal.SetBind(b.BindType, refrenceId, b.TplPath); } RepositoryDataCache.ClearTemplateBinds(); return(null); }
public Error RemoveBinds(int refrenceId, TemplateBind[] list) { if (list == null || list.Length == 0) { return(null); } foreach (var b in list) { tpldal.RemoveBind(b.BindType, refrenceId); RepositoryDataCache.ClearTemplateBinds(); } return(null); }
public int SaveTemplateBind(int refrenceId, TemplateBind templateBind) { tpldal.SetBind(templateBind.BindType, refrenceId, templateBind.TplPath); RepositoryDataCache.ClearTemplateBinds(); return(templateBind.ID); }