private CodeTable <CodeDataModel> GetCodeTableInstance(string regName) { CodeTable <CodeDataModel> rr = AtawIocContext.Current.FetchInstance <CodeTable <CodeDataModel> >(regName); //SetPostDataSet(ds); // rr. rr.Initialize(PostDataSet); return(rr); }