Esempio n. 1
0
        public StudyingEntityText Update(StudyingEntityText studyingEntityText)
        {
            var entyti = ctx.StudyingEntityTexts.Attach(studyingEntityText);

            entyti.State = EntityState.Modified;
            return(studyingEntityText);
        }
Esempio n. 2
0
 public StudyingEntityText Add(StudyingEntityText studyingEntityText)
 {
     ctx.Add(studyingEntityText);
     return(studyingEntityText);
 }