Esempio n. 1
0
        static void _DBInsertSentences(DataClassesDataContext db, ExampleSentence es, ewords word)
        {
            sentences insertone = new sentences
            {
                eword_id = word.eword_id,
                sentence = es.Sentence,
                chinese  = es.Chinese
            };

            db.sentences.InsertOnSubmit(insertone);
        }
Esempio n. 2
0
 partial void Deletesentences(sentences instance);
Esempio n. 3
0
 partial void Updatesentences(sentences instance);
Esempio n. 4
0
 partial void Insertsentences(sentences instance);
Esempio n. 5
0
 private void detach_sentences(sentences entity)
 {
     this.SendPropertyChanging();
     entity.ewords = null;
 }
Esempio n. 6
0
 private void attach_sentences(sentences entity)
 {
     this.SendPropertyChanging();
     entity.ewords = this;
 }