Beispiel #1
0
        /// <summary>
        /// Create a new SocialRel object.
        /// </summary>
        /// <param name="id">Initial value of the Id property.</param>
        /// <param name="relTitle">Initial value of the RelTitle property.</param>
        /// <param name="relName">Initial value of the RelName property.</param>
        /// <param name="relBirthDate">Initial value of the RelBirthDate property.</param>
        /// <param name="chuJiRel_ChuJiInfoes1">Initial value of the ChuJiRel_ChuJiInfoes1 property.</param>
        /// <param name="rowVersion">Initial value of the RowVersion property.</param>
        public static SocialRel CreateSocialRel(global::System.Int32 id, global::System.String relTitle, global::System.String relName, global::System.String relBirthDate, global::System.Int32 chuJiRel_ChuJiInfoes1, global::System.Byte[] rowVersion)
        {
            SocialRel socialRel = new SocialRel();

            socialRel.Id                    = id;
            socialRel.RelTitle              = relTitle;
            socialRel.RelName               = relName;
            socialRel.RelBirthDate          = relBirthDate;
            socialRel.ChuJiRel_ChuJiInfoes1 = chuJiRel_ChuJiInfoes1;
            socialRel.RowVersion            = rowVersion;
            return(socialRel);
        }
Beispiel #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the SocialRels EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSocialRels(SocialRel socialRel)
 {
     base.AddObject("SocialRels", socialRel);
 }