Exemplo n.º 1
0
        public static XQt8436OutBlock[] ReadFromDB(string tableNamePostfix = null /*, char gubun = default */)
        {
            using (XQt8436 instance = new XQt8436())
            {
                string      tableName = (tableNamePostfix == null) ? "XQt8436OutBlock" : $"XQt8436OutBlock_{tableNamePostfix}";
                QueryOption qo        = new QueryOption(tableName);
                // if (gubun != default) qo.Add("gubun", gubun);


                var outBlock = instance.SelectMany <XQt8436OutBlock>(qo);
                return(outBlock);
            }
        }