Detected 1 occurrence(s) of ‘\s*pass[word]+\s*[:=]\s*["'][a-z0-9\-_\!\$]+["']‘: saction = session.BeginTransaction()){ note.Owner = session.QueryOver<Persons>().Where(x => x.Id == id).SingleOrDefault(); // note.Owner = {Id = 1; Name = "Name"; // Password = "Password"} session.Save(note); transaction.Commit(); } } } public class NotesMap: ClassMap<Notes>{ public NotesMap(){ Id(x => x.Id); Map(x => x.Head); Map(x => x.Text); Source: http://pastebin.com/raw.php?i=qxUMsgzv
↧