Beispiel #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);
        }
Beispiel #2
0
 partial void Deletesentences(sentences instance);
Beispiel #3
0
 partial void Updatesentences(sentences instance);
Beispiel #4
0
 partial void Insertsentences(sentences instance);
Beispiel #5
0
 private void detach_sentences(sentences entity)
 {
     this.SendPropertyChanging();
     entity.ewords = null;
 }
Beispiel #6
0
 private void attach_sentences(sentences entity)
 {
     this.SendPropertyChanging();
     entity.ewords = this;
 }