コード例 #1
0
ファイル: DataModel.Designer.cs プロジェクト: Interreto/.net
 /// <summary>
 /// Create a new Source object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="value">Initial value of the Value property.</param>
 /// <param name="status">Initial value of the Status property.</param>
 /// <param name="version">Initial value of the Version property.</param>
 public static Source CreateSource(global::System.Int32 id, global::System.String value, global::System.String status, global::System.String version)
 {
     Source source = new Source();
     source.Id = id;
     source.Value = value;
     source.Status = status;
     source.Version = version;
     return source;
 }
コード例 #2
0
ファイル: DataModel.Designer.cs プロジェクト: Interreto/.net
 /// <summary>
 /// Deprecated Method for adding a new object to the SourceSet EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSourceSet(Source source)
 {
     base.AddObject("SourceSet", source);
 }