public string[] GetObjectNames(string schemaName, string typeCode) { using (var ctx = new smbimContext()) { return(ctx.Set <string>().FromSql($"GetAllObjectNames {schemaName}, {typeCode}").Select(x => new string(x)).ToArray()); } }