public IEnumerable<StoryLangInfo> GetStoryLangs(int storyId)
{
using (IDataContext ctx = DataContext.Instance())
{
string sqlCmd = "SELECT * FROM {databaseOwner}[{objectQualifier}" + Prefix + "StoryLang]" +
" WHERE StoryId = @0";
return ctx.ExecuteQuery<StoryLangInfo>(CommandType.Text, sqlCmd, storyId);
}
}