public void AddToMediaElementRelations(MediaElementRelation mediaElementRelation)
 {
     base.AddObject("MediaElementRelations", mediaElementRelation);
 }
 public static MediaElementRelation CreateMediaElementRelation(long id, global::System.DateTime creationDate, long type, long sourceId, long targetId)
 {
     MediaElementRelation mediaElementRelation = new MediaElementRelation();
     mediaElementRelation.id = id;
     mediaElementRelation.creationDate = creationDate;
     mediaElementRelation.type = type;
     mediaElementRelation.sourceId = sourceId;
     mediaElementRelation.targetId = targetId;
     return mediaElementRelation;
 }