Пример #1
0
        /// <summary>
        /// Create a new sysdiagram object.
        /// </summary>
        /// <param name="name">Initial value of the name property.</param>
        /// <param name="principal_id">Initial value of the principal_id property.</param>
        /// <param name="diagram_id">Initial value of the diagram_id property.</param>
        public static sysdiagram Createsysdiagram(global::System.String name, global::System.Int32 principal_id, global::System.Int32 diagram_id)
        {
            sysdiagram sysdiagram = new sysdiagram();

            sysdiagram.name         = name;
            sysdiagram.principal_id = principal_id;
            sysdiagram.diagram_id   = diagram_id;
            return(sysdiagram);
        }
Пример #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the sysdiagrams EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTosysdiagrams(sysdiagram sysdiagram)
 {
     base.AddObject("sysdiagrams", sysdiagram);
 }