(图片有点大,可右键新tab查看) User模型 class User extends Model { public function profile() { return $this->hasMany(UserProfile::class); } } 使用with查询某个user及其的profile User::with(['profile' => function($query) { $query->select(['id']); }])->find(4)->toArra
Question 91You have a custom user profile property named MyProperty.You need to create a Web Part that displays the value of MyProperty for the current user.Which code segment should you use?A. string profile = SPContext.Current.Web.Properties("Curre