Ejemplo n.º 1
0
 /// <summary>
 /// 用于向 aspnet_Profile EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToaspnet_Profile(aspnet_Profile aspnet_Profile)
 {
     base.AddObject("aspnet_Profile", aspnet_Profile);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// 创建新的 aspnet_Profile 对象。
 /// </summary>
 /// <param name="userId">UserId 属性的初始值。</param>
 /// <param name="propertyNames">PropertyNames 属性的初始值。</param>
 /// <param name="propertyValuesString">PropertyValuesString 属性的初始值。</param>
 /// <param name="propertyValuesBinary">PropertyValuesBinary 属性的初始值。</param>
 /// <param name="lastUpdatedDate">LastUpdatedDate 属性的初始值。</param>
 public static aspnet_Profile Createaspnet_Profile(global::System.Guid userId, global::System.String propertyNames, global::System.String propertyValuesString, global::System.Byte[] propertyValuesBinary, global::System.DateTime lastUpdatedDate)
 {
     aspnet_Profile aspnet_Profile = new aspnet_Profile();
     aspnet_Profile.UserId = userId;
     aspnet_Profile.PropertyNames = propertyNames;
     aspnet_Profile.PropertyValuesString = propertyValuesString;
     aspnet_Profile.PropertyValuesBinary = propertyValuesBinary;
     aspnet_Profile.LastUpdatedDate = lastUpdatedDate;
     return aspnet_Profile;
 }