/// <summary> /// 创建新的 oauth_client 对象。 /// </summary> /// <param name="clientId">ClientId 属性的初始值。</param> /// <param name="clientIdentifier">ClientIdentifier 属性的初始值。</param> /// <param name="name">Name 属性的初始值。</param> /// <param name="clientType">ClientType 属性的初始值。</param> public static oauth_client Createoauth_client(global::System.Int32 clientId, global::System.String clientIdentifier, global::System.String name, global::System.Int32 clientType) { oauth_client oauth_client = new oauth_client(); oauth_client.ClientId = clientId; oauth_client.ClientIdentifier = clientIdentifier; oauth_client.Name = name; oauth_client.ClientType = clientType; return oauth_client; }
/// <summary> /// 用于向 oauth_client EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet<T> 属性的 .Add 方法。 /// </summary> public void AddTooauth_client(oauth_client oauth_client) { base.AddObject("oauth_client", oauth_client); }