コード例 #1
0
ファイル: Connectome.Designer.cs プロジェクト: abordt/Viking
 /// <summary>
 /// Deprecated Method for adding a new object to the Structures EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToStructures(Structure structure)
 {
     base.AddObject("Structures", structure);
 }
コード例 #2
0
ファイル: Connectome.Designer.cs プロジェクト: abordt/Viking
 /// <summary>
 /// Create a new Structure object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="typeID">Initial value of the TypeID property.</param>
 /// <param name="verified">Initial value of the Verified property.</param>
 /// <param name="confidence">Initial value of the Confidence property.</param>
 /// <param name="version">Initial value of the Version property.</param>
 /// <param name="created">Initial value of the Created property.</param>
 /// <param name="username">Initial value of the Username property.</param>
 /// <param name="lastModified">Initial value of the LastModified property.</param>
 public static Structure CreateStructure(global::System.Int64 id, global::System.Int64 typeID, global::System.Boolean verified, global::System.Double confidence, global::System.Byte[] version, global::System.DateTime created, global::System.String username, global::System.DateTime lastModified)
 {
     Structure structure = new Structure();
     structure.ID = id;
     structure.TypeID = typeID;
     structure.Verified = verified;
     structure.Confidence = confidence;
     structure.Version = version;
     structure.Created = created;
     structure.Username = username;
     structure.LastModified = lastModified;
     return structure;
 }